Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

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, like then() and catch()
  • When the status of a promise changes to resolved, the function passed to then() gets called
  • When the status chang...