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

Which describes the output?

function f(x="hi"){return x}\nconsole.log(f(undefined));