Javascript Promises vs Async Await EXPLAINED (in 5 minutes)
Roberts Dev Talk Roberts Dev Talk
19.3K subscribers
528,931 views
0

 Published On Aug 18, 2021

In this tutorial I explain what Javascript promises are, why we need them, and how to use them, catch errors properly and then convert the same code to use async and await. With examples!

โ˜•๏ธ Don't forget, old developers need coffee (and.. beer and pizza too ๐Ÿบ ๐Ÿ•)
https://www.buymeacoffee.com/Robertsd...

Check out the Bored API for fun sample data:
https://www.boredapi.com/

๐Ÿ“ง ๐Ÿ“ซ Join us on our developer journey! Sign up to our email newsletter:
https://robertsdevtalk.com

๐Ÿฆ Follow us on Twitter:
ย ย /ย robertsdevtalkย ย 

๐ŸŽถ Music by Epidemic Sound:
https://www.epidemicsound.com/referra...

Our gear - click through to support our channel! :)

Camera (Canon M50)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3sUbzuL
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3uBsG5c

Camera mic (RODE VideoMic Pro)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3ml8xgC
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/2RkGxyi

Camera tripod (Manfrotto Compact tripod):
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3fJGyWU
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3mF4oV2

Voiceover Mic (Blue Yeti)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/2PV7UOQ
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3uMiEym

Chris's dev mouse for PC (Logitech MX Master 3)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/39K7BNV
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3uKYvso

Chris's dev keyboard for PC (Logitech MX Keys)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3rSbHcX
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3a6Unef

Rob's dev keyboard for Mac (Apple Magic Keyboard)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3dEQpKG
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3sb6JZc

Rob's dev mouse for Mac (Apple Magic Mouse)
๐Ÿ‡ฌ๐Ÿ‡ง UK: https://amzn.to/3sRCQhr
๐Ÿ‡บ๐Ÿ‡ธ US: https://amzn.to/3mFi6qS

Icons in this video kindly provided by FlatIcon from Freepik
https://www.freepik.com
https://www.flaticon.com

JS icon provided by Icon8 https://icons8.com

Disclaimer - some of our links are affiliate links, which means that we receive a small commission for any sales made via those links, at no extra cost to you - so a great way to support our channel! Thank you so much for your support ๐Ÿ˜Š

#javascript #promises #async

show more

Share/Embed