🔰let/const/class hoisting
🚧 under construction -> example
Last updated
🚧 under construction -> example
Last updated
JS ⟩ scope ⟩ hoisting ⟩ let/const/class
with let / const / class declaration:
identifier: hoisted to top of its scope.
value: uninitialized(referencing it before init causes ReferenceError)
compare: var hoisting, function hoisting