Well, let's use it in context then. I think this is correct?
```js
const flattened = iterableReduce(iterableOfIterables, (a, b) =*> { yield* a;
yield* b; }, []);
```
________________________________
From: Kevin Smith <[email protected]>
Sent: Thursday, December 12, 2013 15:40
To: Domenic Denicola
Cc: Mark S. Miller; Brendan Eich; es-discuss
Subject: Re: Reserving await within Arrow Functions
```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