News for hackers. Stuff that matters.
Re:Understanding JavaScript Arrays by sesqu on Sunday July 25, 2010 @08:11PM (#1546676)
No. The length property of an array returns the index of the last value, plus one. Objects are the associative arrays, but they do not have a length.

Arrays are numerically indexed, but if a keystring is a base-10 integer, it will get interpreted as an index. If not, the corresponding property of the array object will be returned instead.

There are no comments on this comment yet.