Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 19, 2018. It is now read-only.
/discussPublic archive

Commited475c6

Browse files
committed
Update async/await info
1 parentd74d75e commited475c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Features.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ Nothing else would be changed by adding this new operator. Normal assignment is
4545

4646
###`async`/`await`[(#10)](https://github.com/coffeescript6/discuss/issues/10)
4747

48-
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).
4951

5052
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`.
5153

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp