Become a member
Sign in
Alex Ainsworth
Alex Ainsworth

Alex Ainsworth

4 Following
3 Followers
  • Profile

  • Highlights

Highlighted by Alex Ainsworth

See more

From JavaScript ES 2017: Learn Async/Await by Example by Brandon Morelli

Async functions return a Promise. If the function throws an error, the Promise will be rejected. If the function returns a value, the Promise will be resolved.