Comprehensions, Where Art Thou?
wingo at igalia.com
Mon Aug 11 08:06:37 PDT 2014
On Mon 11 Aug 2014 16:14, Jason Orendorff <jason.orendorff at gmail.com> writes:
> Where are [methods called .lazy(), .concat(), .map(), .filter(), and
> .flatMap()] defined? Is it intended that .map() and .flatMap() will
> be defined on all iterables?
I think the intention is to place them on a new Iterator.prototype. The
notes record that a new Iterator.prototype is to be added to the spec,
though specification of methods is deferred past ES6.
More information about the es-discuss