Scope, hoisting, the temporal dead zone, the classic loop bug, and what const actually protects — with a self-test at the end.
Scope, hoisting, the temporal dead zone, the classic loop bug, and what const actually protects — with a self-test at the end.