Web features explorer

Array at()

Widely available since 2024-09-14
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.

Learning resources on MDN

Browser support

Specifications