- From: Rick Waldron <waldron.rick@gmail.com>
- Date: Fri, 11 Nov 2011 20:52:51 -0500
- To: "Tab Atkins Jr." <jackalmage@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>
Right, but I'm saying: why create yet more "stuff" in the DOM? findAll will return a "NodeArray" while querySelectorAll and friends return static and live NodeLists? No thanks. /Rick On Nov 11, 2011, at 8:38 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: > 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. > > ~TJ
Received on Saturday, 12 November 2011 01:53:29 UTC