|
The for each loop does not process the
array in order. The traversal order is documented as not reliable, but
actually seems to always return elements in the order which they are added to
the array. Try this using a straight for loop. (I
haven’t, so you could be correct about a bug) From: Either
there is a bug in Array.splice, or the documentation is off. var vegetables:Array = new Array("spinach",
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] bug in Array.splice? Tracy Spratt
- Re: [flexcoders] bug in Array.splice? Ralf Bokelberg
- Re: [flexcoders] bug in Array.splice? John Grden
- Re: [flexcoders] bug in Array.splice? Pan Troglodytes
- Re: [flexcoders] bug in Array.splice? John Grden
- Re: [flexcoders] bug in Array.splice? Ralf Bokelberg
- Re: [flexcoders] bug in Array.splice? John Grden
- Re: [flexcoders] bug in Array.splice? Pan Troglodytes
- RE: [flexcoders] bug in Array.splice? Francis Cheng

