Why should you use async/await if you can just use promise/.then() syntax instead? We'll examine two situations where async/await truly excels at asynchronous code.

By the end of this lesson, you will understand why JavaScript developers love async/await and how it improves the readability of your code.

Code

Part 1 - before and after
Part 2 - before and after

When you're done with this lesson, click on "Complete" then go to the next lesson to learn how to promisify callback-based asynchronous functions!