4 ms·
You're right; I didn't update the example while the syntax was in flux. Fixed! ☺ (There's no certainty that the syntax will be kept, though, see this[1] about
by espadrine 12y ago
You're right; I didn't update the example while the syntax was in flux. Fixed! ☺
(There's no certainty that the syntax will be kept, though, see this[1] about deferring it to ES7 to generalize the syntax for parallelism, and this[2] to make async promises and generators work together.)
[1]: https://speakerdeck.com/dherman/a-better-future-for-comprehensions https://speakerdeck.com/dherman/a-better-future-for-comprehe...
[2]: https://docs.google.com/file/d/0B4PVbLpUIdzoMDR5dWstRllXblU/edit https://docs.google.com/file/d/0B4PVbLpUIdzoMDR5dWstRllXblU/...