Skip to content
PRACTICE_CHALLENGE // Intermediate(21 of 50)

Find Element in Array

Description

Create a function that looks through an array arr and returns the first element in it that passes a "truth test".

Solution Editor
JavaScript Editor
Loading...
Console Output
Waiting for output...