Frontend
Interviews
.dev
Problems
610. Nullish Coalescing vs OR
Easy
•
...
Predict the output.
const
value
=
0
console
.
log
(
value
||
10
)
console
.
log
(
value
??
10
)
What is printed in order?
10 10
0 0
10 0
0 10
Submit Answer
Reveal Answer
Select an option and submit your answer.
Next Problem
Auto-advance on correct answer