Dereferencing Objects : Introduction : Object Oriented JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Object Oriented » Introduction »

 

Dereferencing Objects









JavaScript has a garbage collection routine.

When there are no remaining references to an object, the object is said to be dereferenced.

It is possible to forcibly dereference objects by setting all its references equal to null.








var oObject = new Object;

oObject = null;







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Object Oriented
» Introduction