Skip to content

Variable Scope

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.

Clone this wiki locally