Why wouldn't you use splice(0)?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Winterhalder
Sent: Sunday, November 20, 2005 12:16 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Array Madness - test yourself


On 11/21/05, JesterXL <[EMAIL PROTECTED]> wrote:
> Better yet, why not just:
>
> myArray = [];
>
> done?

usually that's what i do, but other references to the array still point to
the old one, so it only works if you know for sure what references it.

mark

--
http://snafoo.org/
jabber: [EMAIL PROTECTED] _______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to