What will be shown in the console if you run this code?
const obj = { color: 'red', sizes: { height: 20, width: 15 } };
const obj2 = { ...obj};
console.log( obj === obj2 );
console.log( obj.sizes === obj2.sizes );What will be shown in the console if you run this code?
const obj = { color: 'red', sizes: { height: 20, width: 15 } };
const obj2 = { ...obj};
console.log( obj === obj2 );
console.log( obj.sizes === obj2.sizes );Create a free account to access the full topic