Closures in JavaScript
Introduction
To understand closures, we first have to understand Lexical Environment and Scoping.
Lexical Environment
The Lexical Environment refers to the context within which JavaScript code is executed. This context includes where the code is writ...
tigerabrodi.blog2 min read