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

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

Empower Your Learning with Our Flexible Plans

Invest in your future with our flexible subscription plans. Whether you're just starting out or looking to enhance your expertise, there's a plan tailored to meet your needs. Gain access to in-demand skills and courses for your continuous learning needs.

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

Pro

Ideal for continuous learning, offering extensive resources with 600+ courses and diverse Learning Paths to enhance your skills.

$ 499.00
Billed annually or $59.00 billed monthly

What is included

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

Pro +

Experience immersive learning with Practice Labs, CTF Challenges, and exclusive EC-Council certifications for comprehensive skill-building.

$ 599.00
Billed annually or $69.00 billed monthly

Everything in Pro and

  • 800+ Practice Lab exercises with guided instructions
  • 150+ CTF Challenges with detailed walkthroughs
  • New Practice Labs and Challenges added every month
  • 3 Official EC-Council Essentials Certifications¹ (retails at $897!)
    Exclusive Bonus with Annual Plans

¹This plan includes Digital Forensics Essentials (DFE), Ethical Hacking Essentials (EHE), and Network Defense Essentials (NDE) certifications. No other EC-Council certifications are included.

Related Courses

1 of 8