Exercise 2: Functional Style Programming
Practice functional-style programming and JavaScript higher-order functions in this exercise.
We'll cover the following...
Problem statement
In this exercise, you are required to achieve all the functionality of the code given in the code widget below using functions.