I saw some examples like that: // create a new object, and put a reference to it in a: var a:Object = {foo:"bar"} // copy the reference to the object into b: var b:Object = a; // delete the reference to the object in a: delete(a);
But it definitely wont even compile. Is there any techniques to do so?