Why not NodeList#forEach :\?

Hemanth H.M hemanth.hm at gmail.com
Mon Jun 11 07:00:48 PDT 2012


Thank you Rick Waldron :)

BTW tired 'es6-shim' on node.js and :

> Math.sign(-0)

-1
Should it give an error?


On Mon, Jun 11, 2012 at 7:14 PM, Rick Waldron <waldron.rick at gmail.com>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.
>
>
> Rick
>
>
>>
>> Tom
>>
>> _______________________________________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es-discuss
>>
>
>


-- 
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120611/3d3c41f9/attachment.html>


More information about the es-discuss mailing list