Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
OutThisLife
on April 22, 2018
|
parent
|
context
|
favorite
| on:
VS Code can do that?
or
async get () { return await (await fetch(`${baseAPI}/heroes`)).json() }
Boulth
on April 22, 2018
[–]
If you see `return await` glued together just like that you can drop the `await` as it's effectively a no-op in this case.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: