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
Most browsers in the ES3 era allowed reserved words to be used in scripts, hence this default. It is not going to change for backwards-compatibility reasons.
this was from eslint/eslint#15017
acorn can parse
var char = 0;
with no errors (ecmaVersion: 3). butchar
is a ES3 reserved word:any reasons the option
allowReserved
defaults totrue
? IMHO, it makes sense defaults tofalse
in non-loose mode.The text was updated successfully, but these errors were encountered: