Async and Await: The Easy Way to Write Promises in JavaScript

preview_player
Показать описание
async and await is just another way that JavaScript allows developers to create Promises throughout their application. In this video, I'll walk you through how to use async and await with a couple of helpful examples. We'll compare async functions and promises, and explore why you would want to use one over the other.

Some timestamps:
0:00 - Introduction
0:39 - Promise vs Async
1:04 - Async Functions
2:21 - Await Keyword
4:22 - Error Handling
5:11 - Real World Example
6:06 - Is The Global Scope Async?

== Let's Connect ==

== Who I Am ==
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.
Рекомендации по теме
Комментарии
Автор

Nice. Very good explanation. 7 minutes well invested.

r-xv
Автор

your channel is gonna blow the hell up :p *i was here when she had 298 subs!*

yealunix
Автор

Short and simple
Loved the transitions and animations
Keep it up 💪

sikritidakua
Автор

This is great Mma, thanks for sharing!!

chukky
Автор

Async and await are used alot in puppeteer

nowyouknow
Автор

I am the smartest programmer that ever lived!

satanfromhell
join shbcf.ru