Re: map() annotation for iterables?

Boris Zbarsky wrote:
> On 10/4/14, 8:49 PM, Domenic Denicola wrote:
> - hide quoted text -- show quoted text -
>> However, recently all iterators gained a currently-empty common 
>> prototype [%IteratorPrototype%][1]. This was done so that, in the 
>> future, we could define %IteratorPrototype%.{map, filter, etc.}. I 
>> think this will be the more fruitful way forward.
>
> OK.  So these methods will appear on iterators, but not random 
> iterables like Map and Set unless those pull them in explicitly, right?
>
> -Boris 

Right, see https://www.w3.org/Bugs/Public/show_bug.cgi?id=26973#c3.

/be

Received on Sunday, 5 October 2014 05:05:20 UTC