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