Skip to content

Glossary: JavaScript Basics

find / findIndex

Also written: find, findIndex

Array methods that return the first element passing your test (or `undefined`), or for `findIndex` its position (or `-1`).

Where the book teaches it

Related terms

Predicatesome / every