ES6 draft, Rev20 is now available

Andrea Giammarchi andrea.giammarchi at gmail.com
Wed Oct 30 11:00:38 PDT 2013


* are gone


On Wed, Oct 30, 2013 at 11:00 AM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

> This is promoting a fix in the `Object.prototype` ... and since I believe
> those dark days where `Object.prototype` shouldn't be touched due for/in
> loops, I like it ^_^
>
> Or maybe it's just a matter of `Arguments.prototype` , the most common non
> iterable always converted via slice?
>
>
> On Wed, Oct 30, 2013 at 10:26 AM, Brendan Eich <brendan at mozilla.com>wrote:
>
>> Anne van Kesteren wrote:
>>
>>> On Wed, Oct 30, 2013 at 5:14 PM, Brendan Eich<brendan at mozilla.com>
>>>  wrote:
>>>
>>>> >  Anne van Kesteren wrote:
>>>>
>>>>> >>  This is different from how sequence<T>   behaves in IDL. (It uses
>>>>> >>  array-likes.) :/
>>>>>
>>>> >
>>>> >  This is more general, since array-likes should be iterable to be like
>>>> >  arrays, which are iterable.
>>>> >
>>>> >  So this seems ok. Right?
>>>>
>>>
>>> An array-like only "length" and properties "0", "1", ... as far as I
>>> know. I thought iterable meant they implement the iterator protocol.
>>>
>>
>> The meaning of array-like is evolving, maybe. I know, this means old
>> array-likes don't iterate without work. Temporary migration problem?
>>
>> /be
>>
>> ______________________________**_________________
>> es-discuss mailing list
>> es-discuss at mozilla.org
>> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131030/78d57e62/attachment.html>


More information about the es-discuss mailing list