✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
What will be the output of the following code?
let animal = {type: 'dog'};
let pet = animal;
animal.type = 'cat';
console.log(pet.type);
]]>