Y
Hacker News
new
|
ask
|
show
|
jobs
by
pier25
3292 days ago
There is no difference, async/await is just another promise notation.
1 comments
davidgf
3282 days ago
Although async/await is simply syntax sugar around promises, there's a huge difference indeed. With async/await your code keeps an imperative style, while with promises code end up with a functional look
link