Forum Moderators: open
The JavaScript interpreter is able to detect when an object will never again be used by the program. When it determines that an object is unreachable (i.e., there is no longer any way to refer to it using the variables in the program), it knows that the object is no longer needed and its memory can be reclaimed.
Source: David Flanagan, JavaScript: The Definitive Guide, 3rd edition, p. 59.