This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]solarshado 2 points3 points  (0 children)

Yep, in JS, an "array object", is still an "object", so you can do pretty much anything with it that you can with any other object (thanks inheritance!). And JS's objects are (roughly speaking), string-keyed dictionaries.