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

What is the output?

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