Suppose i have an Array of objects in javascript :
var obj0 = new Object();
var obj1 = new Object();
var obj2 = new Object();
var obj3= new Object();
var array = new Array(obj0,obj1,obj2,obj3);
if i write :
array[1] = null;
this will give me [obj0,null,obj2,obj3]
what was nulled is the array case not the object itself; the obj1
won't really be nulled in the memory.
How to null an object by accessing it via the array ?