Closure in JavaScript
Introduction
A closure gives you access to an outer/enclosing function’s scope, including the variables from an inner function, even after the execution context of the outer scope has popped off the call stack. The above statement might sound ambiguo...
devmedic.hashnode.dev8 min read