All challenges
Multiple ChoiceIntermediate 30s

Nullish Coalescing (MCQ)

Choose the best answer for: ?? operator
Options
  1. 1The ?? operator is simply the ternary written with symbols
  2. 2The ?? operator behaves exactly like || for falsy left values
  3. 3?? returns right side only if left is null or undefined
  4. 4The ?? operator returns the right side for any falsy left value

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