Iterators, generators, finally, and scarce resources

Kevin Smith zenparsing at
Wed Apr 30 05:14:20 PDT 2014

> I also note
> this is the first JS construct that would introduce the notion of
> resource acquisition and also of implicit finallies.

And that is why late changes like this are risky.  As far as I know,
there's been no published work exploring how this aspect of for-of would
interact with future designs which might address resource management in

Furthermore, as far as I know we have absolutely no real-world experience
with how such an auto-cleanup construct would actually fare in javascript.
 There is no time to do the homework that this effort would properly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list