Question 45 of 5287%
45

What will be the output of code?

const a = { firstName: 'Joe' };
const b = a;
b.firstName = 'Pete';
console.log(a);  
45/52