Week 5 — 29 / 38

Async and Await

Define a function with the async keyword: - Always goes directly into the side execution queue - It automatically wraps any return value in a Promise - Can use the await keyword inside it https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Promises#async_and_await