All challenges
Multiple ChoiceBeginner 30s

Array findIndex

Choose the best answer for: findIndex
Options
  1. 1findIndex returns the matching element itself, not its index
  2. 2findIndex returns a boolean showing whether a match exists
  3. 3findIndex returns the index of first matching element or -1
  4. 4findIndex is the same as indexOf and uses loose equality

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle