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

On Tue, Aug 30, 2011 at 4:33 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> My point was that it was a mistake for querySelectorAll to return a
> NodeList. It should have returned an Array. Sounds like people agree
> with that then?

I don't have a problem with that, if it can be changed safely.
However, some things do have to return NodeLists, at least if the
returned list is live.  In that case, it's still useful to have the
Array methods available.

Received on Tuesday, 30 August 2011 21:26:25 UTC