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

[Bug 26973] make iterable declarations' iterator prototype objects inherit from %IteratorPrototype%

From: <bugzilla@jessica.w3.org>
Date: Sun, 05 Oct 2014 02:43:26 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26973-3890-EQZCxhq3kw@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26973

Brendan Eich <brendan@mozilla.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allen@wirfs-brock.com,
                   |                            |brendan@mozilla.org,
                   |                            |dherman@mozilla.com

--- Comment #1 from Brendan Eich <brendan@mozilla.org> ---
The plan is to put much-wanted methods on Iterator.prototype, in ES7. The
iteration protocol in JS is still structural, but Iterator() provides an
adapter from structural to nominal, with map/filter/etc. handy methods via
prototypal inheritance.

Dave should correct me on anything amiss here. I hope this helps improve the
web platform sooner.

/be

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Sunday, 5 October 2014 02:43:31 UTC

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