Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptlet const var and scopeSingle-choice MCQ

What does this print?

let x=0; x||=2; console.log(x);