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

Re: map() annotation for iterables?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sat, 04 Oct 2014 14:59:01 -0400
Message-ID: <54304375.2000601@mit.edu>
To: public-script-coord@w3.org
On 10/4/14, 2:59 AM, Anne van Kesteren wrote:
> Per https://code.google.com/p/chromium/issues/detail?id=229398#c10 we
> are giving up on getting [ArrayClass] on NodeList. iterable<> which
> gives us entries(), forEach(), Symbol.iterator, etc. is the new goal.
> bz had the thought that we could still put Array's map on the
> prototype. Would there be interest in that?

More precisely, is there any interest in recasting Array.prototype.map 
to be able to work on a generic iterable and then put it on the proto 
chain of DOM iterables?

Received on Saturday, 4 October 2014 18:59:30 UTC

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