Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- What is a Promise? 3:36
- Create a Promise 4:43
- Reject a Promise and Handle Errors 3:25
- Promises Review
- Create a Promise Review 6 questions
- From Callbacks to Promises 5:59
- Handle Multiple Promises with Promise.all 3:35
- Before You Continue
- Perform Cleanup With finally() 2:47
- Using Fetch 6:21
- JavaScript Promises Review 6 questions
Instruction
Promises Review
Let's quickly review what you've learned so far about promises:
- A promise is a regular JavaScript object that changes from a pending state to either a fulfilled or rejected state
- You're able to call methods on the
Promise
object, likethen()
andcatch()
- When the status of a promise changes to resolved, the function passed to
then()
gets called - When the status chang...