Course Overview

We all visit dozens of websites every single day, but did you realize that virtually all e-commerce websites and social networks implement Promises, JavaScript’s built-in tool for handling actions that communicate with other networks? Promises in JavaScript represent processes that are already happening, which can be chained with callback functions.

In this course, JavaScript promises, you will learn all about these highly efficient tools for making websites efficiently and easily do commonly needed tasks such as logging users in and out, fulfilling orders, saving payment details, and sending instant messages. If you can understand why the above tasks are critical for any eCommerce application, you can easily see how learning promises, which are used to do all these things, are valuable!

By the end of the course, you will find yourselves in a state wherein you will be able to dedicate your time to interesting fun tasks rather than boring tasks such as debugging and troubleshooting.

What You Will Learn

  • Understand what promises are
  • How and where to use promises
  • JavaScript code required to implement and consume promises
  • Understanding of the promise library ecosystem
  • Promise methods catch and then
  • How to implement the Promise spec
  • How to troubleshoot promises
  • How to chain and combine promises
  • How to use promises with async / await

Program Curriculum

  • Understanding Promises
  • Why Do Promises Exist?
  • The Untenable Inconsistencies of Promise
  • $7 Million Cybersecurity Scholarship by EC-Council
  • Chapter 1 Quiz

  • Why Use Promises? / The Promise Specification / Standard Promise Usage
  • Demo: Standard Promise Usage
  • Returning Promises
  • Demo: Implementing the Promise Spec
  • Async/Await and Promises
  • Demo: Async/Await and Promises
  • Chapter 2 Quiz

  • About Multiple Promises / Chaining Promises
  • Demo: Chaining Promises
  • Promise Utilities
  • Demo: Promise Utilities Race, Any, and All
  • Chapter 3 Quiz

  • What Happens When an Error Happens Inside a Promise?
  • Demo: Handling Errors with Promises
  • Course Summary
  • Chapter 4 Quiz
Load more modules

Instructor

Daniel ‘Code Whisperer’ Stern

Daniel Stern is known in development circles as “the Code Whisperer." Daniel has been working as a front end and full stack developer in the tech industry since 2011. He's developed single-page applications for banks like CIBC, charities like the Ontario Institute for Cancer Research, and at ad agencies like McLaren McCann, TraffikGroup and Olson. In addition to being featured in both CSS Weekly and JavaScript weekly, Daniel is well-known throughout the open-source community for maintaining several open-source tools, most notably the Angular.js and LESS-based tool, Range .css and the Angular .js audio tool, ngAudio. In addition to being trusted by the open source community to develop top-quality, functional code, Daniel has also been invited to speak at numerous conferences including Full Stack Conference 2014 in London, England.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Fastest Way to Level Up Your Cybersecurity Skills

Invest in your future with flexible subscription plans that give you access to the world’s largest online cybersecurity course library. Whether you're exploring cybersecurity courses for beginners or advancing your expertise,
access in-demand courses, practical labs, and CTF challenges designed to support continuous learning.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Build your cybersecurity skills with 900+ bite-sized courses and curated learning paths designed for continuous learning.

$ 69.00
Billed monthly or $599.00 billed annually

What is included

  • 880+ Premium Short Courses
  • 70+ Structured Learning Paths
  • Validation of Completion with all courses and learning paths
  • New Courses added every month
Early Access Offer

Pro +

Develop real-world cybersecurity skills through hands-on labs and CTF challenges designed for practical learning.

$ 79.00
Billed monthly or $699.00 billed annually

Everything in Pro, Plus:

  • 1600+ Hands-on lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Hands-on Labs and Challenges added every month

Related Courses

1 of 50