Skip to content
RED SAGSkills
easy5 pts · first answer countsjavascript

?? versus || with zero

What does this print?

const a = 0 || 10
const b = 0 ?? 10
console.log(a, b)
Choose one answer