Skip to content
Quiz · Operators and type conversion · lesson 6 of 14

Quiz — || and ??

What does the program print?

JavaScript
const n = 0;
console.log(n || 10, n ?? 10);

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way