JavaScript : Scopes
Scope defines where a variable declaration, function declaration, or any other declarations etc. will be accessible in a program. In Javascript, there are mainly four kinds of scope.
Global Scope
Local Scope
Block Scope
Module Scope
Global Scop...
subhamsahu.hashnode.dev2 min read