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

> >> That works, but what is the advantage? And .push/.pop or other
> >> mutating functions wouldn't work.
> > 
> > All mutable functions will work (forEach, map, etc.) and bring a better
> > expressiveness to the code.
> 
> Not if he 'this' object is a NodeList.

Yes, sorry I meant all “immutable” functions will work.

Julien

Received on Friday, 26 August 2011 22:23:37 UTC