Re:Fun with JavaScript Arrays
by shinuza on Wednesday June 12, 2013 @08:05AM
(#5867617)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.