SpinSpire logo

(WIP) Scopes

Global scope

Local scope

Lexical scope

function outer() {
let a = 323;

function inner() {
console.log(a);
}

inner()
}
outer();