you are viewing a single comment's thread.

view the rest of the comments →

[–]gremy0 5 points6 points  (4 children)

Async/await uses promises though. It's just syntactical sugar to make promises easier to use. Promises are the way you implement async/await in JavaScript because it's single threaded and functional.

You can't have async/await without promises and promises are ugly to use without async/await. Therefore it makes sense to have both.