News for hackers. Stuff that matters.
Re:One page: Javascript in 10 minutes by cema on Wednesday January 26, 2011 @08:02AM (#2143124)

  using an object as a textually-indexed array,
  which isn't that great
Using it as a hash table is just fine.
Re:One page: Javascript in 10 minutes by user24 on Wednesday January 26, 2011 @08:19AM (#2143159)
Yes, my problem was with people then wanting to iterate over said hashmap, not with using it as a hashmap in the first place. I could have worded that better, thanks.

I mean if you're going to want to iterate over it, you should probably be using an array instead.