getIdByIndex
returns the ID of the item with the specified index
function getIdByIndex( // the item index (zero-based numbering) index: number|string): idReturns
Section titled “Returns”id the item ID
Details
Section titled “Details”If an item with such index doesn’t exist, the method returns undefined.