Object Referencing Javascript
-
What is Object Referencing in Javascript?
- In Javascript, objects are handled by reference, not by value.
- This means that when you assign an object to a variable, you're not actually creating a copy of the object.
- Instead, the variable stores a reference (or pointer) to the memory location where the object is stored.