Question: Identify a true statement of array.find(callback [, thisArg]) method. A. It tests whether the condition returned by the callback function holds for all items in
Identify a true statement of array.find(callback [, thisArg]) method.
A. It tests whether the condition returned by the callback function holds for all items in array.
B. It returns the value of the first element in the array that passes a test in the callback function.
C. It tests whether the condition returned by the callback function holds for at least one item in array.
D. It returns the index of the first element in the array that passes a test in the callback function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
