docs.rodeo

MDN Web Docs mirror

Object reference

An object reference is a link to an {{glossary("object")}} . Object references can be used exactly like the linked objects.

The concept of object references becomes clear when assigning the same object to more than one {{Glossary("property/javascript", "property")}} . Rather than holding a copy of the object, each assigned property holds object references that link to the same object so that when the object changes, all properties referring to the object reflect the change.

See also

In this article

View on MDN