JavaScript Quiz: Why did mute turn the volume back up? Zero means the…

⚡ JavaScript Quiz: Why did mute turn the volume back up?

Zero means the user muted the app. What do these two lines print?


const savedVolume = 0;
console.log(savedVolume || 50); // ?
console.log(savedVolume ?? 50); // ?


👇 Make a guess before you check the comments.
🔥2
December 2, 2026 139