Difference between var, let and Const in Javascript?
To understand var, let and const let us first understand what is scope.
What is Scope ?
Scope determines the visibility or accessibility of a variable or other resources in the area of your code.
Global Scope?
There's only one Global scope in the Jav...
·4 min read·hashnode.comUpdated Read the article
Chandan Naskar
This is perfect article for understanding JS variables scope