DEV Community

Discussion on: Callbacks vs Promises in JavaScript

Collapse
 
iamshadmirza profile image
Shad Mirza • Edited

Great article. One question: What's the difference between async-await and promise other than async-await being syntactical sugar?

Collapse
 
wichopy profile image
Will C.

One thing that trips up people for async await is the return from an async function is always a Promise, whether you return something or not.