quick-lint-js

Find bugs in JavaScript programs.

E0086: redundant delete statement on variable

The following delete statement is redundant on variable:

let x = 3;
delete x;
console.log(x);

To fix this warning, remove the delete statement:

let x = 3;
console.log(x);

Introduced in quick-lint-js version 0.3.0.

Documentation for other errors