Closed summer4096 closed 6 years ago
Async arrow functions are not valid
That's news to me. Is there any sources?
Now I'm sad. :sob:
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.
Async arrow functions are not valid