Minimizing the use of Global Variables in Javascript.
How JavaScript manage scopes?
In the JavaScript language there are two types of scopes:
Global Scope
Local Scope
JavaScript uses functions to manage scope. A variable defined inside a function is in the local scope and not available outside the f...
akashrj.hashnode.dev3 min read