What are JavaScript promises, Async Await and Callback hell explained in 5 minutes

preview_player
Показать описание
Learn what are promises, callback hell, and the different ways of handling promises using .then or async await in javascript.

#javascript #promises #async #asyncawait
Рекомендации по теме
Комментарии
Автор

great video, is very simple. It would be better if you give asynchronous code using .then .catch method, and async await method side by side on the screen. So i can compare between two of them. But thanks for the video, its easy to understand

hasferrr
Автор

So with an async await, if we did console.log("checking"), it would go through the API call first, and then log "checking", as opposed to the .then scenario where it went straight to the console.log line of code first? Just want to clarify so I could understand the difference in the way the API call worked. Thank you for this video. Very simple!

markprubin
Автор

related to "what color is your function" article..

kokizzu
Автор

Best solution to manage async and promises is to use js-awe library

josemarin
Автор

Different between .Then .Catch and try, catch.. Please i am confused

harikrishnanpandyan