Multiple ChoiceIntermediate 30s
Nullish Coalescing (MCQ)
Choose the best answer for: ?? operator
Options
- 1The ?? operator is simply the ternary written with symbols
- 2The ?? operator behaves exactly like || for falsy left values
- 3?? returns right side only if left is null or undefined
- 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.