Scope, Scope chain ,Lexical and Closures
Scope:
Scope refers to the context or environment in which a variable is declared and can be accessed. A variable’s scope defines where it can be used and where it is accessible.
There are two type of scope :
Local scope and 2. Global scope
For exa...
sujaynitrr.hashnode.dev5 min read