Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
4156いいね 91,950 views回再生

Async Await vs. Promises - JavaScript Tutorial for beginners

The JavaScript Tool I'm using to demonstrate:
https://runjs.app/ColorCode

ColorCode Etsy Merchandise store:
https://www.etsy.com/shop/ColorCodeStore

JavaScript Async Await, how to use them with Promises, and more importantly why?! This is episode 13 of 20 things Javascript Developers Should Know But Probably Don't.

00:00:00 Intro
00:01:04 How Promises work
00:02:18 Await!
00:04:00 Async!
00:05:55 Async/Await vs. then block
00:07:12 Real example with fetch()
00:10:58 6 important points about Async/Await
00:14:20 Error Handling with try/catch
00:20:49 Final thoughts on Async/Await
00:21:22 20,000!
00:21:45 ColorCode Podcast
00:22:22 ColorCode Merchandise Store 👕
00:22:38 New website
00:22:59 YouTube Shorts
00:23:12 Update on JS Mastery Course

Links mentioned in the video:

ColorCode Etsy Merchandise store:
https://www.etsy.com/shop/ColorCodeSt...

Episode 11: Asynchronous JavaScript:
   • Async JavaScript & Callback Functions -- T...  

Episode 12: JavaScript Promises:
   • JavaScript Promises  -- Tutorial for Begin...  

JavaScript Promises in 1 Minute:
   • JavaScript Promises 👨🏻‍💻in 1 Minute #shorts  

Using Await without Async in JS Modules (MDN):
https://developer.mozilla.org/en-US/d...

Full playlist here:    • 25 Things JavaScript Developers Should Kno...  

JavaScript Promises from the series "20 Things JS Developers Should Know but Probably Don't"
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

コメント