What is Array.prototype.filter useful for?
It creates a new array with the elements that pass the provided function.
What is a higher-order function?
A higher-order function is a function that takes a function as an argument or returns a function
What is Array.prototype.map useful for?
It creates a new array populated with the results of calling a provided function on every element in the calling array.
What is Array.prototype.reduce useful for?
The reduce() is to return the sum of all the elements in an array.