The type of values stored in the array.
The index of the last element in the array (exclusive).
The total number of negative indices in the array.
The total number of non-negative indices in the array.
The index of the first element in the array (inclusive).
Returns an iterator over existing values.
Returns the element stored at index, or undefined if no element exists at that index.
An integer element index.
Returns true if the array contains an element at index.
An integer element index.
Returns an iterator over indices of existing elements (as determined by has).
Sets the element at index.
An integer element index.
The value to store.
Returns a slice of elements from this array. The slice length will not exceed 2³² items.
The start index of the slice (inclusive).
The end index of the slice (exclusive).
Prepends an element to the array before startIndex.
The value to prepend.
Returns an iterator over existing values.
A mutable array that can store up to 2⁵⁴ - 2 elements.
Indices must be in the range [NumberConstructor.MIN_SAFE_INTEGER, NumberConstructor.MAX_SAFE_INTEGER].
Example