Allen Wirfs-Brock (2014-03-02T23:18:51.000Z)
On Mar 2, 2014, at 10:58 AM, Peter van der Zee wrote:

>> Depends upon what you mean by "Array detection".  If you mean is obj an "exotic array object (ie, an object that automatically updates the length property value as integer indexed properties are added or deleted) then Array.isArray(obj) detects exactly that.
> 
> Okay cool. Is there merit in consistency for this? Iterators getting
> an `isIterator()` method perhaps?

They're really different kinds of tests at a low very. Plus, there is not Iterator object to hang such a method off of.

Allen
domenic at domenicdenicola.com (2014-03-06T20:44:21.197Z)
They're really different kinds of tests at a low very. Plus, there is not Iterator object to hang such a method off of.