All challenges
Multiple ChoiceBeginner 30s

Array find

Choose the best answer for: find method
Options
  1. 1find returns the index of the first element matching predicate
  2. 2find returns the first element matching the predicate
  3. 3find modifies the array and removes the matched element
  4. 4find returns all elements that match the predicate as an array

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