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...
Markdown supported · ⌘↵ to post
Chandan Naskar
A career in tech = lifelong learning
This is perfect article for understanding JS variables scope