A valid zero

Take your time, follow the code and check your understanding.

The codeConditions
const count = 0;
console.log(count ?? 10);
Your answer3 min · no timer
What will the code print?

Show solution and explanation

Nullish coalescing uses the fallback only for null or undefined. Zero is retained.

0