You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
This isn’t even standardized yet; it’s not part of ES2015 or ES2016, though support has started appearing in browsers.
48
+
An[old pull request](https://github.com/jashkenas/coffeescript/pull/3757) basically implements this feature exactly as we’ve outlined it below, though the PR needs updating to remove ES5 shims.
49
+
50
+
`async`/`await` isn’t completely standardized yet; it’s not part of ES2015 or ES2016, though support has started appearing in browsers.[It has reached Stage 4 of ES2017](https://github.com/tc39/proposals/blob/master/finished-proposals.md).
49
51
50
52
CoffeeScript’s version would add only the`await` keyword, which would automatically cause CoffeeScript to output an`async` keyword where needed. This behavior is similar to how generators are handled, where the presence of a`yield` keyword causes CoffeeScript to declare the function as`function*`: the presence of`await` would cause CoffeeScript to declare its associated function with`async`.