Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example to use correct async function syntax #22

Closed
wants to merge 1 commit into from

Conversation

summer4096
Copy link

Async arrow functions are not valid

Async arrow functions are not valid
@shinnn
Copy link
Contributor

shinnn commented Feb 3, 2016

Async arrow functions are not valid

That's news to me. Is there any sources?

@summer4096
Copy link
Author

@knpwrs
Copy link

knpwrs commented Feb 4, 2016

Now I'm sad. 😭

@Ajedi32
Copy link

Ajedi32 commented Mar 25, 2016

FYI, async arrow functions absolutely do exist. They're mentioned in the spec and work fine in Babel.

The blog post you cited is incorrect about async arrow functions not existing, and the tc39 issue you linked had the OP trying to use await in a synchronous arrow function, not an asynchronous one.

@JaKXz JaKXz closed this May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants