Course · Section 3: JavaScript Fundamentals – Part 2 · Lecture 41: Basic Array Operations (Methods)
Implement `findPosition(arr, value)` returning the index of `value`, or `-1` if absent.
+ 1 hidden test run on Submit.
indexOf reports the first index of the value or -1 when missing.
Run your code to see results.