ES6,ES7,ES8 and beyond. A Proposed Roadmap.

Bjoern Hoehrmann derhoermi at gmx.net
Mon Apr 22 17:07:37 PDT 2013


* Sam Tobin-Hochstadt wrote:
>What exactly would be the semantic difference between this and just using
>'yield'?

If you consider it from the perspective of someone reading the code, you
might find, as an example, `try { ... yield ... }` rather weird (how can
yielding control fail?) while `try { ... await ... }` is fairly obvious.
-- 
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


More information about the es-discuss mailing list