Understanding Scope in JavaScript Part 1
Scope are a set of rules that instruct the engine to lookup variables by its identifier. To understand scope you have got to think in terms of conversion.
Types of Scope
Lexical Scope
Dynamic Scope
Lexical scope is the most commonly used by numerou...
kemicaldev.hashnode.dev3 min read