All challenges
Multiple ChoiceBeginner 30s

null vs undefined

undefined means a variable is declared but not assigned; null is:
Options
  1. 1Also unassigned, a variable the engine never gave a value
  2. 2An intentional absence of value set by the programmer
  3. 3A number type used to represent a missing numeric result
  4. 4A boolean type used to represent a missing logical result

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.

Play this in a 3-minute battle