Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptobject destructuringSingle-choice MCQ1 views

What is the output?

function f({a} = {}) { return a; }\nconsole.log(f());