Async/await is syntactic sugar over Promises that makes async code read like synchronous code. It was introduced in ES2017 to solve the readability problems of nested .then() chains and callback hell.

Markdown supported · ⌘↵ to post
No responses yet.