loading...

re: Callbacks vs Promises in JavaScript VIEW POST

FULL DISCUSSION
 

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

 

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.

code of conduct - report abuse