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
[JSHint: /home/clux/repos/badjshint.js]
7,2: Expected 'for' and instead saw 'r'.
7,9: Expected 'for' and instead saw ','.
7,11: Expected '(' and instead saw 'r'.
7,12: Expected an identifier and instead saw '.'.
7,12: Invalid for each loop.
7,13: Expected an identifier and instead saw 'for'.
7,16: Expected ')' and instead saw ','.
7,18: Expected ']' and instead saw 'r'.
7,20: Expected an assignment or functioncall and instead saw an expression.
7,25: Missing semicolon.
7,25: Expected ']' to have an indentation at 1 instead at 25.
7,25: Expected an identifier and instead saw ']'.
7,26: Expected an operator and instead saw '.'.
7,26: Expected an assignment or functioncall and instead saw an expression.
7,27: Missing semicolon.
7,27: Expected 'every' to have an indentation at 1 instead at 27.
7,27: 'every' is not defined.
✗ 17 errors, double-click above, [F4] for next, [shift-F4] for previous.
The text was updated successfully, but these errors were encountered:
If an array contains the `for` identifier as a property of an object, it was wrongly detected as
array comprehension:
var x = [ a.for ];
Fixesjshint#1413
If an array contains the `for` identifier as a property of an object, it was wrongly detected as
array comprehension:
var x = [ a.for ];
Fixesjshint#1413
Using the ES5 keyword 'for' as a property name can cause jshint to become confused:
jshint output:
The text was updated successfully, but these errors were encountered: