JavaScript Problem: Searching an Array for a Value

Опубликовано: 12 September 2026
на канале: All Things JavaScript, LLC
38,698
577

Searching an array is a common task. In the past we have relied on indexOf and lastIndexOf. As of ES6 there are two new array methods: findIndex and find. This tutorial covers indexOf, lastIndexOf, findIndex and find.

Would you like to help keep this channel going?
  / allthingsjavascript  

For a complete list of all our tutorials:
http://www.allthingsjavascript.com/yo...

Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/...

Courses offered on Udemy at a discount (access from my site): http://allthingsjavascript.com/course...

To view a tutorial on the ES5 Array methods:    • Getting Comfortable with the ES5 Array Met...