News for hackers. Stuff that matters.
Re:Fun with JavaScript Arrays by shinuza on Wednesday June 12, 2013 @08:05AM (#5867617)

  > a.length
  0
Same as the article, you are adding properties to a. A is an array, not an hashmap. Any index that is not a number will create a property, not a new index.

There are no comments on this comment yet.