JavaScript Interview Cheatsheet
Scope
The scope is the current context of execution in which values and expressions are "visible" or can be referenced. If a variable or expression is not in the current scope, it will not be available for use.
In simple words, a variable’s scope is ...
areebsiraj007.hashnode.dev6 min read