Closures and It's Properties
Closures allow a method to access variables of another method, even though the method left the stack. Closures are the combination of function and lexical scope.
To see closures in actions,
// A simple closures example
function hoc() {
// "willBePr...
blog.shams-nahid.com6 min read