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
It is a Syntax Error if the BoundNames of BindingList contains "let".
It is a Syntax Error if the BoundNames of BindingList contains any duplicate entries.
currently we allow
letlet=10;constlet=30;
which should be syntax error regardless of strict-mode.
Note: below shouldn't be a syntax error unless it is in strict-mode
let=10varlet=20;
The text was updated successfully, but these errors were encountered:
yuit
changed the title
Let should not be allowed as identifier in let declaration
Let should not be allowed as identifier in let and const declaration
Jun 29, 2015
In ES6 spec in section in Let and Const Declaration
currently we allow
which should be syntax error regardless of strict-mode.
Note: below shouldn't be a syntax error unless it is in strict-mode
The text was updated successfully, but these errors were encountered: