On Fri, Nov 22, 2013 at 6:00 PM, Boris Zbarsky <[email protected]> wrote: > for (var x of Array.from(list)) > > to explicitly snapshot? Cross-browser compat might not be great so far, but > it's not for for..of either.
Right. And going forward we'll make sure to introduce less live lists on the platform side. E.g. querySelector et al return static lists. The proposed query and queryAll methods will return a subclass of Array. -- http://annevankesteren.nl/ _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

