Suggestions for Set

Jason Orendorff jason.orendorff at
Wed Oct 3 12:47:47 PDT 2012

On Wed, Oct 3, 2012 at 1:57 PM, Brendan Eich <brendan at> wrote:
> On that point, does NodeList have an iterator in Firefox now? That's an
> obvious Array.from argument type.


    > document.body.querySelectorAll("p").iterator()
    [object Iterator]

    > [...document.body.querySelectorAll("p")].length

Huh. Only one? That's weird, I thought gmail would have lots of <p> elements.

    > [...document.body.querySelectorAll("div")].length

There we go.


More information about the es-discuss mailing list