Web features explorer

Array at()

Widely available
Tags: javascript Groups: JavaScript > Collections > Arrays JavaScript > Collections > Typed arrays

The at() method of arrays and typed arrays returns the item at an index, including negative indices for getting items relative to the end of an array. Also known as the relative indexing method. To learn more, see Array.prototype.at() at MDN.

Compatibility

Specifications