Ron Buckton (2017-01-01T01:19:22.000Z)
forbes at lindesay.co.uk (2017-01-08T05:36:38.136Z)
Speaking of C#, the C# variant of this is the `using` statement: https://msdn.microsoft.com/en-us/library/yh598w02.aspx I'm not advocating `using` as a new keyword for ES, given it's not already reserved and would have ASI hazards. The Java "try-with-resources" seems to be a fairly flexible syntax, though its adoption in ES would be predicated on some well-defined heuristic for determining which method to be used, given that ES does not have interfaces (and thus no System.IDisposable or java.lang.AutoCloseable). That would likely be an existing method name, such as "return" as used in iterators today, or a built-in Symbol which could be retrofit onto %IteratorPrototype%.