Web features explorer

Array findLast() and findLastIndex()

Newly available since 2022-08-23
Tags: javascript Groups: JavaScript > Collections > Arrays JavaScript > Collections > Typed arrays

The findLast() and findLastIndex() methods of arrays and typed arrays search an array in reverse order for the first item that satisfies a test function. To learn more, see Array.prototype.findLast(), Array.prototype.findLastIndex(), TypedArray.prototype.findLast(), TypedArray.prototype.findLastIndex() at MDN.

Compatibility