Web features explorer

Array find() and findIndex()

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

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

Compatibility (view on caniuse.com)