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

Which is the output?

const {a="y"}={a:0}; console.log(a);