A value stored in an array.
An index of the last element in an array, exclusive.
An index of the first element in an array, inclusive.
Returns an element stored at an index or undefined
.
An integer index of an element.
Returns true
if an array contains an element with the index.
An integer index of an element.
Returns a new iterator object that contains indexes of existing elements.
Sets an element at an index.
An integer index of an element.
A value to set.
Prepends an element to an array before the startIndex.
A value to prepend.
A mutable array that can store up to 2 ^ 54 - 2 elements.
Indices should be in range [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER].
Example