Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Create a Promise Chain in JavaScript with Promise.prototype.then()


    This lesson introduces the native JavaScript Promise object and the Promise.prototype.then() method. We’re gonna look at how to make an HTTP request using the Fetch API and how to asynchronously process the response in a promise chain.

    In addition, we'll discuss the three mutually exclusive states a promise can be in: pending, fulfilled, or rejected.