🚧 under construction
Last updated 2 years ago
JS ⟩ variable ⟩ shadowing
var can shadow parameter even in strict mode❗️ - is it possible to shadow function parameters
var in block can't shadow outer let❗️
redeclaration
variable redeclaration
var redeclaration
let redeclaration
function redeclaration
function in block (FiB) - treated as "redeclaration" in sloppy mode.
shadowing parameters by local variables? (my question)
YDKJS: Scope & Closures (v.2) ⟩ Ch. 8 ⟩ Parameter Scope