On Wed, Oct 3, 2012 at 1:57 PM, Brendan Eich <[email protected]> wrote:
> On that point, does NodeList have an iterator in Firefox now? That's an
> obvious Array.from argument type.
Yep!
> document.body.querySelectorAll("p").iterator()
[object Iterator]
> [...document.body.querySelectorAll("p")].length
1
Huh. Only one? That's weird, I thought gmail would have lots of <p> elements.
> [...document.body.querySelectorAll("div")].length
1723
There we go.
-j
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss