Javascript Scope
A scope is an environment in which a variable is declared. it determines the accessibility of variables.
There are three types of scopes in Javascript
Block Scope
Function Scope
Global Scope
Block Scope
Before es6(2015), There were only two type...
codemaster17.hashnode.dev4 min read