Re: map() annotation for iterables?

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?

-Boris

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