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; }

Documentation for other errors