News for hackers. Stuff that matters.
Re:Node v8.1.2 by pier25 on Thursday June 15, 2017 @11:34AM (#14561345)
There is no difference, async/await is just another promise notation.
Re:Node v8.1.2 by davidgf on Sunday June 25, 2017 @06:07AM (#14629374)
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