E0096: missing for loop header
It is a syntax error to have nothing between the (
and )
in a for
loop:
for () {
runBenchmark(benchmark);
}
To fix this error, continue writing the for
loop:
for (const benchmark of collectBenchmarks()) {
runBenchmark(benchmark);
}
Introduced in quick-lint-js version 0.2.0.