a weird yield* edge case
Benjamin (Inglor) Gruenbaum
inglor at gmail.com
Sat Jan 31 10:13:41 PST 2015
I think that people would generally will _expect_ `yield *` to be have like
yield inside a loop. So most people would expect:
```
yield* iterator
```
To behave like:
```
for(let val of iterator){
yield val;
}
```
While I'm not (yet) suggesting that the behaviour should be similar in both
cases this is definitely something to consider before deciding on throwing
or suppressing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150131/f9c1c015/attachment.html>
More information about the es-discuss
mailing list