-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b96
-
Verified
According to ES5 7.8.3 the source character immediately following a NumericLiteral must not be an IdentifierStart or DecimalDigit.
The following should throw a SyntaxError instead of evaluating to false:
3in {}
03instanceof {}
The following should throw a SyntaxError instead of evaluating to false:
3in {}
03instanceof {}