Erik Arvidsson (2013-07-11T22:36:41.000Z)
Why do you think they use generators?

It is true that you can pass an iterable, but your polyfill can just ignore
that.
On Jul 11, 2013 6:31 PM, "Andrea Giammarchi" <andrea.giammarchi at gmail.com>
wrote:

> I've noticed by accident Maps and Sets (simple?) now uses generators so
> that no polyfill will ever work anymore and Sets are pointless since
> there's no way to retrieve back values in any shim.
>
> I'll drop my es6-collections polyfill and take care of a pointless WeakMap
> shim only at this poit ... wondering what's Mark M. take on this since he
> was taking care of other polyfills for closure too.
>
> http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets
>
> Best Regards, this was a very bad move, IMO.
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130711/4b5887ff/attachment.html>
domenic at domenicdenicola.com (2013-07-12T16:25:41.439Z)
Why do you think they use generators?

It is true that you can pass an iterable, but your polyfill can just ignore that.