Understanding Closures in JavaScript
A closure is when a function is able to remember and access a lexical scope, even when that function is executed outside of that lexical scope.
1 posts tagged
A closure is when a function is able to remember and access a lexical scope, even when that function is executed outside of that lexical scope.