0 / 60 seg.

What will be the output of the following code?

const obj1 = { name: "John" };
const obj2 = { age: 30 };
const merged = { ...obj1, ...obj2 };
console.log(merged);