30. What will happen if you run this code?

const user = {
  name: 'Joe',
  age: 25,
  pet: {
    type: 'dog',
    name: 'Buttercup'
  }
};
Object.freeze(user);
user.pet.name = 'Daffodil';
user.name = "jhon";
console.log(user.pet.name,user.name);