Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Master frontend development: HTML, CSS, JS, React
·
Module 7
Asynchronous JavaScript: The Event Loop & Promises
1
Understanding JavaScript's Concurrency Model
Explain the components of the JavaScript concurrency model: the call stack, event loop, and task queues (macro and micro).
2
Event Loop and Asynchronous JavaScript
Predict the order of execution for a mix of synchronous code, setTimeout, and resolved/rejected Promises.
Understanding Promise States and Transitions
Explain the three states of a Promise (pending, fulfilled, rejected) and how state transitions occur.
Asynchronous Error Handling: Promises and Async/Await
Implement robust error handling in asynchronous code using .catch() with Promise chains and try...catch with async/await.
Understanding Generator Functions and the 'yield' Keyword
Explain what generator functions are and how the 'yield' keyword provides a mechanism for pausable function execution.
6
Async/Await: Syntactic Sugar for Promises and Generators
Describe how async/await is implemented as syntactic sugar over Promises and generators.
Asynchronous Patterns: Promise.all and Promise.race
Explain common asynchronous patterns, including parallel execution (Promise.all) and racing conditions (Promise.race).
Previous module
JavaScript Scope & Memory: Closures, 'this', and Prototypes
Next module
The Browser Environment: DOM, Events & APIs