# Source: https://github.com/quick-lint/quick-lint-js/blob/master/docs/errors/E0133.md

# E0133: error generator function star belongs before name

The following code has misplaced '*'.

```javascript
*function f(x) { yield x; }
```

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

```javascript
function *f(x) { yield x; }
```

Introduced in quick-lint-js version 0.2.0.