quick-lint-js

Find bugs in JavaScript programs.

E0205: error missing initializer in const declaration

The following code is missing initialization for const variable declaration.

const x;

To fix this error, initialize the variable x with some value.

const x = 10;

Another way to fix this error, change const to let.

let x;

Documentation for other errors