quick-lint-js

Find bugs in JavaScript programs.

E0133: error generator function star belongs before name

The following code has misplaced '*'.

*function f(x) { yield x; }

To fix this error, move the '*' before function name.

function *f(x) { yield x; }

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors