Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptobject destructuringSingle-choice MCQ

What does the snippet log?

const [a,b]=[1,2]; console.log(a);