E0109: for-of loop expression cannot have semicolons
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
-of
loop
with a ;
:
To fix this error, remove the of
keyword in the C-style for
loop:
Alternatively, remove the extra ;
:
Introduced in quick-lint-js version 0.2.0.