JavaScript Promises: The Complete Guide
4.8 (52 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
751 students enrolled

JavaScript Promises: The Complete Guide

Everything you need to know about Promises in JavaScript
4.8 (52 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
751 students enrolled
Created by Viktor Pyskunov
Last updated 9/2019
English
English [Auto]
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Learn everything about Promises in JavaScript
  • Working with multiple asynchronous operations simultaneously
  • Real world examples of using Promises
  • Error handling when using Promises
  • Github repository with the source code
  • Writing unit tests for Promises
  • Improve your knowledge of Asynchronous JavaScript
  • Using Fetch API
Course content
Expand all 21 lectures 01:42:09
+ Working with Promises
7 lectures 42:20
Promise Methods: Then
06:23
Chaining Promises
06:27
Promise Methods: Catch
05:14
How to Promisify any Function in JavaScript
07:53
What's a Callback Hell and How to Avoid It
06:36
Making HTTP Requests Using Fetch API
04:59
Static Methods: Promise.resolve and Promise.reject
04:48
+ Handling Multiple Asynchronous Operations
3 lectures 14:13
Static Methods: Promise.all
04:43
How Promise.all Handles Rejections
03:34
Static Methods: Promise.race
05:56
+ Unit Testing of Promises
4 lectures 25:28
Setting Up the Testing Environment
03:53
Writing Unit Tests
09:25
Timeouts in Unit Tests
03:59
Multiple Assertions in One Test Case
08:11
+ Summary
2 lectures 00:54
Summary
00:40

Bonus Lecture is a place where instructors can provide links to other courses and give discounts to students.

Bonus Lecture: Other Courses with Discounts
00:14
Requirements
  • Basics of JavaScript
Description

My main goal is to help you understand how Promises in JavaScript work and become an expert in this topic. This course was specifically designed for those who are learning Promises from scratch or improving their skills in using Promises.

JavaScript is asynchronous by its nature. Creating event handlers, making HTTP requests, interacting with the DOM, working with databases - all these operations are asynchronous. Promises make all this stuff a lot easier to deal with. Especially if you need to handle multiple asynchronous operations in your code.

Promises are widely used in all kinds of JavaScript applications. This is a relatively new concept which you need to learn, and this course will help you with that. After watching this course you will be able to work with different kinds of asynchronous JavaScript operations using Promises.

Who this course is for:
  • Everyone who wants to learn JavaScript Promises