elierotenberg / elierotenberg/coding-styles
Immediate invocation of ES6 shorthand generator?
Open
- Dominant language
- No language data
- Stars
- 401
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
Doesn't work (throws unexpected token):
``` js
app.use(*g() {
this.body = 'hello world';
});
```
Works:
``` js
app.use(function *() {
this.body = 'hello world';
});
```
Any insight as to why?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.