Proposal: for-of-withas a way to provide a value to the generator

jong chan moe jong at chan.moe
Tue Aug 22 02:04:40 UTC 2017


I think it would be natural to use it with the `continue` statement.

```js
for (let value of fibonacci()) {
   console.log(value);
   continue with value == 8;
}
```




More information about the es-discuss mailing list