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
This commit fixes two things:
1. We can now parse regular expressions preceded by 'typeof'.
2. You can use *=, +=, etc. punctuators as conditions (you still
need option 'boss' to turn off the warning though).
ClosesjshintGH-657.
var a = typeof /[a-z]/;
is an error:
Expected an identifier and instead saw '/'.
The text was updated successfully, but these errors were encountered: