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 up16.1 and Annex C don't forbid NonOctalDecimalIntegerLiteral #189
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mazkasa
Nov 16, 2015
In NOTE of 11.8.3 Numeric Literals, both of extends seems forbidden on strict mode code.
A conforming implementation, when processing strict mode code (see 10.2.1), must not extend, as described in B.1.1, the syntax of NumericLiteral to include LegacyOctalIntegerLiteral, nor extend the syntax of DecimalIntegerLiteral to include NonOctalDecimalIntegerLiteral.
mazkasa
commented
Nov 16, 2015
|
In NOTE of 11.8.3 Numeric Literals, both of extends seems forbidden on strict mode code.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
nanto
Nov 16, 2015
Thank you! I have missed it. I change the issue title to "16.1 and Annex C don't forbid NonOctalDecimalIntegerLiteral".
nanto
commented
Nov 16, 2015
|
Thank you! I have missed it. I change the issue title to "16.1 and Annex C don't forbid NonOctalDecimalIntegerLiteral". |
nanto commentedNov 16, 2015
[JP22] B.1.1 adds LegacyOctalIntegerLiteral and NonOctalDecimalIntegerLiteral, and forbid them for strict mode code. On the other hand, 16.1 and Annex C forbids only LegacyOctalIntegerLiteral. Is NonOctalDecimalIntegerLiteral allowed for strict mode code or not?