determines the accessibility of identifiers and values in a particular section of your code
/* GLOBAL SCOPE */ var city = 'Chicago'; function logCity () { /* Local Scope */ var city = 'New York'; console.log(city); } logCity();
It is created within a function's execution context and consists of:
All variables defined "locally". These variables are attached to the function's execution context's "Variable Object".
By Scott D'Alessandro