-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[FIX]] Reserve
await
keyword in ES6 module code
From the ECMAScript 2015 specification: > The following tokens are reserved for used as keywords in future > language extensions. > > Syntax > FutureReservedWord:: > enum > await > > await is only treated as a FutureReservedWord when Module is the goal > symbol of the syntactic grammar. http://www.ecma-international.org/ecma-262/6.0/#sec-future-reserved-words
- Loading branch information
1 parent
4a43fb9
commit b1c8d5b
Showing
2 changed files
with
54 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters