FrontendInterviews.dev

633. Nullish Coalescing Precedence

Easy•

Predict the output.

console.log(null ?? 'A' ? 'B' : 'C')

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem