return them from functions
- 11. Anonymous Functions, Scope and Closures: Serious functions
- Publisher: O'Reilly Media, Inc.
- Released: March 2014
Again: returning a function from a function is NOT the invocation of the function. It is the return of a reference to the function. The invocation of the function is executed by using parenthesis after the reference variable of the function.