JavaScript Closures
* What exactly is Closure in JavaScript? * Closures are functions that refer to independent (free) variables. In other words, the function defined in the closure ‘remembers’ the environment in which it was created. * In other words, a closure gives you access to an outer function's scope from an inner