Learn Array.indexOf in JavaScript
In this lesson, we'll learn how to use the Array.indexOf helper method that was introduced to JavaScript in ES6.
The indexOf method is straight forward method, that allows us to find the index of a given element if it exists in the array.
ES6 Array Helper Methods
6 lessons • 18 min2:48
1:42
3:22
1:53
5:09
4:03
NEXT CHAPTER
ES6 Set and Map1 lessons • 11 min
