The concept of Scope in JavaScript is directly related to Lexical Environment. Understanding the Lexical Environment is thus very helpful to learn about Scope and have the prerequisite knowledge to dive into Closures. Scope is the region in which a p...
Full stack Developer. I write about things I learnt or built along the way.