Mark Volkmann (2015-04-05T22:43:20.000Z)
d at domenic.me (2015-04-14T22:23:45.237Z)
Thanks, that helps. I had been thinking that for-of was a model for how iterators should be consumed. When implementing any kind of iterator (generator or not), it seems important to recognize that if you choose to return a value with done set to true, you are precluding the use of for-of with that iterator (assuming you want all the values).