You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marie-Louise edited this page Aug 24, 2018
·
4 revisions
The concept of variable scope means that the variable is controlled depending on the location that the variable is declared
Before ECMAS2015
Variables declared inside a function (locally) have what is described as Function Scope .Local variables can be accessed ONLY inside the function.