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.
Nesta página do site você pode assistir ao vídeo on-line Objects interact by reference | JavaScript Quiz 2022 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário JavaScript for Humans 22 Setembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 122 vezes e gostou 5 espectadores. Boa visualização!