Challenge: Club Entry System
Explore how to create a higher-order function that composes multiple functions to filter and map customer data for a club entry system. Understand how to apply functional programming concepts to solve real-world problems and practice processing arrays of objects effectively.
We'll cover the following...
We'll cover the following...
Problem statement #
A security guard at the club needs to ensure that only customers over or equal to the age of 18 enter the club.
Here customers is an array of objects such that each customer object has an age and name property.
The guard needs the names of the customers who ...