Web design & 😃 development dan repost
CHALLENGE
🔴What will be output??
const obj1 = { a: 1, b: { c: 2 } };
const obj2 = { ...obj1 };
obj1.b.c = 3;
console.log(obj2.b.c);
🔴What will be output??