Extra functions on Arrays, Maps, etc..

Erik Arvidsson erik.arvidsson at gmail.com
Sat Apr 7 17:31:27 PDT 2012

On Sat, Apr 7, 2012 at 17:28, Rick Waldron <waldron.rick at gmail.com> wrote:
> As in, its [[Class]] is "Array" and Array.isArray( nodes ) would evaluate to
> true?

No, it means that Object.getPrototypeOf(NodeList.prototype) === Array.prototype.

Fortunately all the Array.prototype methods are generic so it all just works.


More information about the es-discuss mailing list