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.

JavaScript

Challenge overview

Format
Build a Function
Category
JavaScript
Difficulty
Beginner
arraysobjectsfindfunctionsnull

Keep practicing

More coding challenges