You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZeParser parses true: var a = 3; without emitting any errors, even though this input raises a SyntaxError in all major implementations. The spec appears to confirm that this is invalid—the grammar for LabelledStatement (Identifier) excludes ReservedWord, which comprises Keyword, NullLiteral, and BooleanLiteral.
The text was updated successfully, but these errors were encountered:
ZeParser parses
true: var a = 3;
without emitting any errors, even though this input raises aSyntaxError
in all major implementations. The spec appears to confirm that this is invalid—the grammar forLabelledStatement
(Identifier
) excludesReservedWord
, which comprisesKeyword
,NullLiteral
, andBooleanLiteral
.The text was updated successfully, but these errors were encountered: