DEV Community

Discussion on: Promises or async/await, Which Is Better?

Collapse
 
lexlohr profile image
Alex Lohr

Async functions are merely semantic sugar for a function that will return a Promise. You can even catch() errors from calling them (which is more succinct than try-catch).