Understanding Higher Order Functions in JavaScript
Introduction
In JavaScript, functions are treated as first-class citizens. We can treat functions as values and assign it to another variable, pass them as arguments to another function, or even return them from another function.
This ability of fu...
sohamderoy.hashnode.dev9 min read