Chapter 3
Higher Order Functions in JavaScript
Section 2
Handling JavaScript Arrays with Higher Order Functions
In functional programming, we often use higher order functions on arrays instead of using loops. Therefore, it is beneficial to learn about ways of handling JavaScript arrays. - Discover how to extract the head and the tail of an array - Learn the main array utility functions available to you in JavaScript - Understand how the forEach helper can be misused in functional programming, via an example