open_in_new
content_copy
const person = { name: 'Sam', age: 300, } const twinPerson = { ...person }