W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2011

Re: What type should .findAll return

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 11 Nov 2011 17:38:09 -0800
Message-ID: <CAAWBYDDehqmGtugSYFxZ8aSYiFfG46mpRL5JYOkMa2yuCYYDbw@mail.gmail.com>
To: Rick Waldron <waldron.rick@gmail.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Boris Zbarsky <bzbarsky@mit.edu>, "public-script-coord@w3.org" <public-script-coord@w3.org>, public-webapps <public-webapps@w3.org>
On Fri, Nov 11, 2011 at 5:35 PM, Rick Waldron <waldron.rick@gmail.com> wrote:
> Any DOM NodeList/"NodeArray" could be converted into a "real" array by passing to Array.from( array like )
> http://wiki.ecmascript.org/doku.php?id=strawman:array_extras
> Avoids creating yet another DOM "NodeThing".

Jonas explains very well why we don't want a "real" Array, but rather
something that just acts like an Array.

Received on Saturday, 12 November 2011 01:39:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:04 UTC