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?
For a complete list of all our tutorials:
To view a tutorial on the ES5 Array methods: