Higher Order Functions in JavaScript
medium.com