This Ecma Standard has been adopted by the General Assembly of June 2015.
-
@@ -3321,7 +3320,7 @@
Syntax
`+` DecimalDigits
`-` DecimalDigits
-
All grammar symbols not explicitly defined above have the definitions used in the Lexical Grammar for numeric literals ()
+
All grammar symbols not explicitly defined above have the definitions used in the Lexical Grammar for numeric literals ()
Some differences should be noted between the syntax of a |StringNumericLiteral| and a |NumericLiteral| (see ):
@@ -9424,8 +9423,8 @@
Syntax
`enum`
`await`
-
`await` is only treated as a |FutureReservedWord| when |Module| is the goal symbol of the syntactic grammar.
-
+
`await` is only treated as a |FutureReservedWord| when |Module| is the goal symbol of the syntactic grammar.
+
Use of the following tokens within strict mode code (see ) is also reserved. That usage is restricted using static semantic restrictions (see ) rather than the lexical grammar:
Each `\\u` |TrailSurrogate| for which the choice of associated `u` |LeadSurrogate| is ambiguous shall be associated with the nearest possible `u` |LeadSurrogate| that would otherwise have no corresponding `\\u` |TrailSurrogate|.
+
Each `\\u` |TrailSurrogate| for which the choice of associated `u` |LeadSurrogate| is ambiguous shall be associated with the nearest possible `u` |LeadSurrogate| that would otherwise have no corresponding `\\u` |TrailSurrogate|.
LeadSurrogate ::
Hex4Digits [match only if the SV of Hex4Digits is in the inclusive range 0xD800 to 0xDBFF]
@@ -35272,49 +35271,343 @@
When the production is recognized the following grammar is used to refine the interpretation of |CoverParenthesizedExpressionAndArrowParameterList|:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Scripts and Modules
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Number Conversions
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
All grammar symbols not explicitly defined by the |StringNumericLiteral| grammar have the definitions used in the Lexical Grammar for numeric literals.
Universal Resource Identifier Character Classes
-
+
+
+
+
+
+
+
+
Regular Expressions
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Each `\\u` |TrailSurrogate| for which the choice of associated `u` |LeadSurrogate| is ambiguous shall be associated with the nearest possible `u` |LeadSurrogate| that would otherwise have no corresponding `\\u` |TrailSurrogate|.