Why not NodeList#forEach :\?
tellishtc at gmail.com
Mon Jun 11 07:20:49 PDT 2012
Awesome. I've had es6-shim for a while now but I haven't used it yet. I forgot what its use was until now.
On 11 Jun 2012, at 14:44, Rick Waldron wrote:
> On Mon, Jun 11, 2012 at 9:09 AM, Tom Ellis <tellishtc at gmail.com> wrote:
> > ES6 draft specifies a new Array constructor called Array.from that will essentially convert "array-likes" into arrays
> This will have uses for the arguments objects too, for people that aren't using ...rest in ES6.
> Indeed - Array.from can be used with any object that has a numeric index and length property whose value is a number - which covers a very wide swath of Ecmascript/non-Ecmascript objects.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss