Wednesday, March 7, 2018

A high order function in JavaScript is a function that returns a function.

...like a closure, only not necessarily enclosing state. I guess every closure is a high order function but not every high order function is a closure.

No comments:

Post a Comment