Available Products
Use JavaScript filter() to return only available product objects, keeping their original order and leaving the source array unchanged.
JavaScript
Challenge overview
- Format
- Build a Function
- Category
- JavaScript
- Difficulty
- Beginner
javascriptarrayshigher-order-array-methodsfilterobjects
Keep practicing
More coding challenges
JavaScript · Beginner
Available Seats
Write a JavaScript function that accepts an array of seat states, loops through it, and returns the number of seats still available.
View challengePython · Beginner
Available Seats in Python
Write a Python function that accepts a list of seat states, loops through it, and returns the number of seats still available.
View challengeJavaScript · Beginner
Battery Warning
Use a JavaScript if statement to detect a low battery level and print a clear warning when the charge drops below 20 percent.
View challenge

