Allen Wirfs-Brock (2014-07-23T21:03:42.000Z)
domenic at domenicdenicola.com (2014-07-31T18:31:31.155Z)
I agree, for-of shouldn't do implicit throws() to its iterator, just return(). However yield\* has been specified for a long time to implicitly propagate a throw() to the outer generator into as a throw() to the inner iterator. Maybe that made sense in the absence of return() but now that we have return (). yield\* is really just a loop that the throw() is terminating early. From that perspective it seens we should invoke return() and not throw on the inner iterator.