Change * (asterisk) position in generator declarations in the docs
In the docs, we are declaring generators like this: `function *() { ...`

However, `function` and `*` are part of the same keyword. So, the correct way to declare a generator is like this: `function* () {...` or like `function*() {...`

Reference:
[Mozilla Developer Network JS Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*)
[Airbnb's JavaScript Style Guide](https://github.com/airbnb/javascript#generators--spacing)
