Re: [selectors-api] Return an Array instead of a static NodeList

On Thu, Aug 25, 2011 at 7:17 PM, Jonas Sicking <> wrote:
> .push and .pop are generic and work on anything that looks like an
> Array. However they don't work on NodeList because NodeList isn't
> mutable.
> . . .
> None of these are *mutable* functions.

Oh, right.  I misunderstood you.  Yes, obviously we wouldn't expose
things like .push or .pop on NodeList, since they wouldn't make sense.
 But we should expose things like .forEach, etc.  Any reason not to?

Received on Monday, 29 August 2011 16:40:55 UTC