Many devs think let and const are not hoisted๐
Truth: They are hoisted, but they stay in the Temporal Dead Zone (TDZ) until the declaration line executes.
This means you cannot access them before the declaration โ even in the same scope.
Predict the output ๐
What will this print?
A) 10
B) 20
C) undefined
D) ReferenceError
Vote explain your answer below ๐ท
#JavaScript #WebDev #Coding #100DaysOfCode #testyourCoding