E0098: for loop needs an iterable, or condition and update clauses
There are three kinds of for
loops: C-style for
loops (;
), for
-in
loops, and for
-of
loops. It is a syntax error to write a for
loop without
;
, in
, or of
:
To fix this error, write in
or of
followed by an iterable (such as an
array):
Alternatively, write the remainder of the C-style for
loop:
Introduced in quick-lint-js version 0.2.0.