Question 20/22
intermediate
Select one answer

What is the nullish coalescing operator (??)?

Same as the OR (||) operator
Returns right operand only when left is null or undefined, not other falsy values
Checks if two values are both null
Converts null to undefined

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.