Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardJavaScriptimmutability patternsSingle-choice MCQ

Which is the output?

const a={n:{x:1}}; const b={...a}; console.log(a.n===b.n);