Promises handle asynchronous operations. async/await makes asynchronous code look and behave like synchronous code.
The async keyword makes a function return a Promise. The await keyword waits for a Promise to resolve.
Edit the code below and click Run to see the result live.