I have an object:
var myObj = new myAwsumObj();
Now, currently I am deleting it like that:
myObj = undefined;
But that apparently does nothing, since object still exists (I can see that exceptions are being thrown by something that is in the 'external' javascript file that this object is defined in).
How do I clear all this stuff up? Is it possible? Because it seems like myObj is doing very much in this external javascript file, maybe even creating new objects, is it possible to clear all this mess without refactoring this external file?
myObj=null;