Last updated 2 years ago
Was this helpful?
⟩ ⟩ uninitialized variable
when a let / const / class is still in its temporal dead zone, it is said to be uninitialized.
TDZ vs. uninitialized variable
refers to the time window (time period) where a const/let variable exists but is still uninitialized (and cannot be accessed in any way).
uninitialized variable refers to the const/let variable itself.
they are two sides of the same coin.
uninitialized variable has no initial value, not undefined even
YDKJS: Scope & Closures (v.2) ⟩
⟩
Ch. 5 >