Главная
Study mode:
on
1
Intro
2
Async vs. Sync
3
The problem with Async
4
Convert to Callback
5
Convert to Promises
6
Different phases of a Promise
7
How to use a Promise
8
Why do we like Promises?
9
Chaining
10
Benefits of Promises over Callbacks
11
Error handling, REJECT and .catch()
12
.finally()
13
Real world example with fetch()
14
Summary
15
Next...
Description:
Dive into a comprehensive tutorial on JavaScript Promises, part of the "10 Things JS Developers Should Know" series. Learn about asynchronous vs. synchronous programming, the challenges of async code, and how Promises solve these issues. Explore the different phases of a Promise, how to use and chain them, and their benefits over callbacks. Master error handling with REJECT and .catch(), understand the .finally() method, and see a real-world example using fetch(). Gain essential knowledge on this crucial JavaScript concept, perfect for beginners looking to enhance their programming skills.

JavaScript Promises - Tutorial for Beginners

ColorCode
Add to list
0:00 / 0:00