Closing a function
- 11. Anonymous Functions, Scope and Closures: Serious functions
- Publisher: O'Reilly Media, Inc.
- Released: March 2014
closing the function is a way of using some variable that could be used as a global variable without actually using a global variable.