Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
JavaScript
hard
JavaScript
immutability patterns
Single-choice MCQ
Which is the output?
const a={n:{x:1}}; const b={...a}; console.log(a.n===b.n);