Higher Order Functions in JavaScript
A higher-order function is just a function that plays with other functions. That's it.
Basically it either -
Take a function as input
returns a function
Most of the time, it does both. But even doing one of those things makes it "higher-order."
T...
jacked.dev4 min read