April 10 2014 Meeting Notes

C. Scott Ananian ecmascript at cscott.net
Fri Apr 25 13:26:21 PDT 2014


On Fri, Apr 25, 2014 at 4:15 PM, C. Scott Ananian <ecmascript at cscott.net>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140425/5b03d887/attachment-0001.html>


More information about the es-discuss mailing list