Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upfalse result for: return new Promise(async (resolve) => { #1006
Comments
This comment has been minimized.
This comment has been minimized.
|
I've never seen the statement |
This comment has been minimized.
This comment has been minimized.
|
No, without arrow function it works fine e.g.:
But I often use arrows and async together. This one is for demo only while function is actually synced but it doesn't work either:
|
This comment has been minimized.
This comment has been minimized.
|
Just tested and this is not an issue anymore. I believe it was fixed in |
feross
closed this
May 3, 2018
lock
bot
locked as resolved and limited conversation to collaborators
Aug 1, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
liesislukas commentedOct 26, 2017
Doesn't work with this sample:
It says
Expected parentheses around arrow function argument arrow-parensfor line with
return new Promise...