Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
JavaScript Promises  -- Tutorial for Beginners
Play lesson

25 Things JavaScript Developers Should Know, but Probably Don't - JavaScript Promises -- Tutorial for Beginners

5.0 (1)
7 learners

What you'll learn

This course includes

  • 8.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

The JavaScript Tool I'm using to demonstrate: https://runjs.app/ColorCode ColorCode Etsy Merchandise store: https://www.etsy.com/shop/ColorCodeStore JavaScript Promises and all their glory! This is episode 12 in a 10 part series I’m calling 10 things Javascript Developers Should Know But Probably Don't. JavaScript Promises Different phases of a Promise Chaining Promises Handling errors using Promises Benefits over callbacks and callback hell What do they all mean and why do you need them? Full playlist here: https://www.youtube.com/playlist?list=PL1PqvM2UQiMoGNTaxFMSK2cih633lpFKP JavaScript Promises from the series "10 Things JS Developers Should Know" by ColorCode.io, Sina Jazayeri *** Announcement *** Full JavaScript Mastery course is coming! Details at the end of the video. Sign up for Early Access here: https://www.colorcode.io/js-mastery 0:00:00 Intro 0:01:48 Async vs. Sync 0:03:29 The problem with Async 0:07:00 Convert to Callback 0:08:00 Convert to Promises 0:10:32 Different phases of a Promise 0:11:47 How to use a Promise 0:14:47 Why do we like Promises? 0:16:30 Chaining 0:20:59 Benefits of Promises over Callbacks 0:22:50 Error handling, REJECT and .catch() 0:30:23 .finally() 0:31:50 Real world example with fetch() 0:34:30 Summary 0:35:13 Next...

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere