Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAwait: FutureReservedWord? #922
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Hmmm... should be fixed already aec498d |
chicoxyzzy
referenced this issue
May 31, 2017
Merged
Editorial: remove `await` from FutureReservedWords in A.1. #926
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
bterlson
closed this
in
#926
Jun 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bathos commentedMay 27, 2017
In the ES2018 spec, the A.1 Lexical Grammar summary includes the following:
In the primary section on future reserved words, 11.6.2.2,
awaitisn’t mentioned. In both sections,awaitis listed as a keyword proper rather than a future reserved word. Other notes in the text clarify that some contexts permitawaitas an identifier but I don’t think this is related to its classification as "keyword" vs "future reserved word". If I’m understanding right, the bit about FutureReservedWord in the grammar summary seems likely to be a vestige from an earlier version of the spec.