[Project_owners] clearing variables

Nickolay Ponomarev asqueella at gmail.com
Tue Feb 7 17:39:34 EST 2006


On 2/7/06, Eric H. Jung <grimholtz at yahoo.com> wrote:
> I suppose that question can be answered by someone who knows whether or
> not properties of a variable are deleted when the variable itself is
> deleted. Anyone?
>
It's a garbage-collected language. Everything that is not reachable
from roots is garbage collected (which is what you seem to call
"delete").

That is, if we forget about implementation problems with
reference-counted XPCOM components and expando properties on DOM
objects.

Nickolay


More information about the Project_owners mailing list