>
>
> ```js
> const concat = (a, b) =*> { yield* a; yield* b; }
> ```
>
Thanks. For this particular example, it's no big deal to use longhand:
function* concat(a, b) { yield* a; yield* b; }
But you could throw a couple of `this`s in there and drive the argument
that way. But are we going to see such an example pop up enough to justify
the feature? I suspect not, but we don't have any data. Better to leave
all options on the table, including using "=>" for async arrows. Hence
reserving await.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss