The Symmetry of JavaScript Functions

added by JavaScript Kicks
3/13/2015 11:30:07 AM

279 Views

In JavaScript, functions are first-class entities. meaning, you can store them in data structures, pass them to other functions, and return them from functions. An amazing number of very strong programming techniques arise as a consequence of functions-as-first-class-entities. One of the strongest is also one of the simplest: You can write functions that compose and transform other functions.


0 comments