Find a User
Build a JavaScript function with find() that returns the user matching a requested ID, or null when no user has that ID.
JavaScript
Challenge overview
- Format
- Build a Function
- Category
- JavaScript
- Difficulty
- Beginner
javascriptarrayshigher-order-array-methodsfindobjects
Keep practicing
More coding challenges
JavaScript · Beginner
Find the First Available Seat
Use Array.find() to return the first seat whose availability is exactly true, or null when the list contains no open seats.
View challengePython · Beginner
Find the First Available Seat in Python
Use Python's next() with a generator to return the first truly available seat label, or None when the list has no open seats.
View challengeJavaScript · Beginner
Find the Low Stock Products
Write a JavaScript function that returns low-stock product names in source order, including items exactly at the requested inventory limit.
View challenge

