quick-lint-js

Find bugs in JavaScript programs.

E0141: expected ')' to close function call

A function call requires a list of arguments surrounded by ( and ). It is a syntax error to omit the final ) in a function call:

for (let i = 0; i < iterationCount; ++i) {
  console.log("starting iteration", i, "...";
  runBenchmarkIteration();
  console.log("finished iteration", i);
}

To fix this error, write the closing ):

for (let i = 0; i < iterationCount; ++i) {
  console.log("starting iteration", i, "...");
  runBenchmarkIteration();
  console.log("finished iteration", i);
}

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors