This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn how findIndex() returns the index of the first matching element, or -1 if none found.
You've completed the free preview. Subscribe to unlock every lesson in every course.