Preserved Topic: delete an Object (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Berlin, Germany |
posted 03-13-2002 14:06 |
Bipolar (III) Inmate From: USA! USA! USA! |
posted 03-13-2002 18:34
Not sure exactly what you're trying to accomplish. If you have object o, you can set its value to null: code: var o = new Object;
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 03-14-2002 01:40
If I understand correctly, you want to take an object or variable that you've declared, and make it as though you never declared it. This can be done with the delete operator: |