In JavaScript, all objects interact by reference when setting them equal to each other.
First, variable c holds a value to an object. Later, we assign d with the same reference that c has to the object.
When you change one object, you change all of them.
On this page of the site you can watch the video online Objects interact by reference | JavaScript Quiz 2022 with a duration of hours minute second in good quality, which was uploaded by the user JavaScript for Humans 22 September 2022, share the link with friends and acquaintances, this video has already been watched 122 times on youtube and it was liked by 5 viewers. Enjoy your viewing!