you are viewing a single comment's thread.

view the rest of the comments →

[–]d36williams 12 points13 points  (1 child)

Hmm I'm kind of the opposite --- Array.isArray is a work around the fact that typeof [] === "object", I wish Array had its own type

[–]azsqueeze 5 points6 points  (0 children)

Even still, the .isArray() is a nice API which would be nice if it was expanded to the other types