Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pier25
· 9y ago · 0 comments
There is no difference, async/await is just another promise notation.
Comments
[–]
davidgf
9y 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