All challenges
Multiple ChoiceIntermediate 30s

Optional Chaining (MCQ)

Choose the best answer for: ?. operator
Options
  1. 1The ?. operator only works on arrays and not on plain objects
  2. 2The ?. operator throws an error when the property is missing
  3. 3The ?. operator is identical to the regular dot member access operator
  4. 4?. short-circuits to undefined if the left side is null/undefined

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