Home>Courses>JavaScript Promises

JavaScript Promises

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.

Intermediate

40 Lessons

12h

Certificate of Completion

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.
AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

69 Playgrounds
5 Quizzes
Course Overview
What You'll Learn
Course Content
Recommendations

Course Overview

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 ...Show More
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 ma...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

Course 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.

Course Author

Trusted by 2.5 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.

AI-Powered Mock Interviews

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