30 Days Of JavaScript

Day 10: Higher Order Functions Part 1

Lesson 5: find

Filter will give you an array of items that match your condition, but what if you just want a single item?

That's where find() comes in, it will return the first item in the array that matches your condition, if an item can't be found it will return undefined.


Go Pro?

Upgrade to Pro for quizzes, tracked progress and a completion certificate for just $25 🚀

Want more developer tips, tricks and tools?
Then follow me:
FREE Coding Career Quick Start Guide 🚀
Discover the best way to learn to code, how to land a job and valuable resources to help your journey in this free 15 page value packed guide.
Looking to email me? You can get me on my first name at allthecode.co