Multiple ChoiceBeginner 30s
undefined vs null
Choose the best answer for: uninitialized vs intentional absence
Options
- 1undefined is an object type while null is a number type in the spec
- 2undefined and null are completely identical values in every check
- 3null means an undeclared variable that has not been assigned yet
- 4undefined means not assigned; null means intentionally empty
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.