on 2008-07-02 15:26
on 2008-07-02 15:31
If you assign something to the 3255th element of an array, your array now has 3255 elements. That's how arrays work. :-) -Fred On Jul 2, 2008, at 8:26 AM, Marcelius wrote: > window.myObjectDeclared.anArrayMember = someData; > alert(window.myObjectDeclared.anArrayMember.length); //returns 3255 -- Science answers questions; philosophy questions answers.
on 2008-07-03 07:19
lol, I've never noticed that before... I had performance issues when assigning 2 elements in an array, but that makes sense now with the high numbers... I solved this using a Hash instead of an Array and now works great! Thanks for the response!