1. Glossary
  2. Object reference

Object reference

An object reference is a link to an 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 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

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /