Multiple ChoiceIntermediate 30s
var Hoisting
Choose the best answer for: hoisting with var
Options
- 1var declarations are not hoisted and stay in the dead zone
- 2var declarations are hoisted and initialized to undefined
- 3var throws a ReferenceError when read before its declaration
- 4var is hoisted together with its assigned value at the top
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.