W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

Re: ES6 draft, Rev20 is now available

From: Brendan Eich <brendan@mozilla.com>
Date: Wed, 30 Oct 2013 10:26:58 -0700
Message-ID: <52714162.6090401@mozilla.com>
To: Anne van Kesteren <annevk@annevk.nl>
CC: Allen Wirfs-Brock <allen@wirfs-brock.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, es-discuss list <es-discuss@mozilla.org>
Anne van Kesteren wrote:
> On Wed, Oct 30, 2013 at 5:14 PM, Brendan Eich<brendan@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
Received on Wednesday, 30 October 2013 17:27:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:19 UTC