HomeCoursesJavaScript Promises

Intermediate

12h

Updated 5 months ago

JavaScript Promises
Save

Gain insights into JavaScript Promises to handle asynchronous events, chain multiple promises, utilize built-in methods, and master async functions with await expressions for efficient event handling.
Join 2.7 million developers at
Overview
Content
Reviews
Related
Promises are used to deal with event handling and callbacks in asynchronous programming in JavaScript, such as clicks and key presses. Promises allow developers to specify a function to execute at some later point in response to certain events. Promises may also indicate whether a certain code succeeded or failed in performing its assigned job. In this course, you will learn how to chain different promises, which makes the code easier to understand and debug. Next, you’ll learn built-in methods to monitor and respond to multiple promises executing in parallel. Then, you will cover async functions and await expressions that are often used with promises. Finally, you’ll learn how to track promises when they are rejected without a rejection handler. Promises are important to understand and debug the code in asynchronous programming. The concepts of JS promises help developers working with Node.js and Deno for event handling and with asynchronous JavaScript APIs.
Promises are used to deal with event handling and callbacks in asynchronous programming in JavaScript, such as clicks and key pr...Show More

WHAT YOU'LL LEARN

An in-depth understanding of JavaScript promises
An understanding of the asynchronous programming in JavaScript
Hands-on experience creating settled and unsettled promises
A working knowledge of chaining promises
Familiarity with monitoring and responding to promises executing in parallel
The ability to track unhandled rejections
An in-depth understanding of JavaScript promises

Show more

Content

1.

Introduction

2 Lessons

Get familiar with JavaScript promises, enhancing asynchronous programming and improving code clarity.

2.

Basics of Promises

8 Lessons

Unpack the core of JavaScript promises, their states, handlers, and construction methods.

6.

Tracking Down the Unhandled Rejections

5 Lessons

Focus on tracking and managing unhandled promise rejections across JavaScript environments.

7.

Conclusion

1 Lessons

Build on key concepts of JavaScript promises, async/await, and error handling.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Course Author:

Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath