Question 51 of 5888%
51

What will be the output of code?

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