With the introduction of Async/Await in ES7, the code looks and behaves more like a synchronous code. 'Async' is basically syntax sugar built on top of promises. The 'await' tells the JavaScript engine to ensure that the execution is paused until the function completes execution and returns a promise.
Table of contents
IntroductionHow does Async/Await work?Async returns Promise by defaultError Handling1 Comment
Sort: