Posted By

lzyy on 06/26/08


Tagged

delete


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

THEPWN3R


About delete


 / Published in: ActionScript 3
 

  1. //delete will not delete the content,but the variable container,so the content will still survives in memory until all reference are removed and it is collected by the garbage collect.
  2.  
  3. var foo = bar = new Object();
  4. delete(foo);
  5. trace(bar);//Object object

Report this snippet  

You need to login to post a comment.