a weird yield* edge case
Allen Wirfs-Brock
allen at wirfs-brock.com
Sat Jan 31 11:08:29 PST 2015
On Jan 31, 2015, at 10:53 AM, Kevin Smith wrote:
>
> But this perhaps leads to rethinking what happens when for-of invokes the throw method on its iterator.
>
I should have said, "when for-of" invokes the close method, because of an exception and the close produces a different exception.
> Having trouble finding this - what is the section number?
>
13.6.4.14, everyplace where IteratorClose is called.
The actual selection of which exception is make in 7.4.6 IteratorClose, steps 7 and 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150131/04f8d091/attachment.html>
More information about the es-discuss
mailing list