On Fri, Apr 25, 2014 at 4:15 PM, C. Scott Ananian <[email protected]>wrote:

> Ah.  I'm still looking for a "minimal safe cut" for ES6 -- would it be
> possible to remove `@@iterator` from iterators created from generators?
>

Nevermind, I realize this doesn't prevent you from storing away the
iterator and creating your own iterable to return it.  You can't prevent
the user from obtaining a reference to the raw iterator and observing its
state. :(
  --scott
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to