August 25, 2020
  • 7:34 am Cách tách gộp ô trong Excel – How to Merge Cells in Excel
  • 7:23 am Cách xem mật khẩu wifi cho điện thoại Samsung , Oppo, wifi Tenda , iPhone| Dương Văn An
  • 7:10 am HƯỚNG TẢI NHẠC YOUTUBE VỀ MÁY TÍNH DẠNG FILE ZING MP3 ĐƠN GIẢN NHẤT
  • 6:58 am One Punch Man – Tập 05 [Việt sub] [Bản giới hạn]
  • 6:43 am Bài tập Excel nâng cao có hướng dẫn giải [Cực Hay]



How Promises in JavaScript work and how to use them. Explained in a very simple language with real world example.

JavaScript promises example
How to use promises in JavaScript

How to avoid callback hell, advanced javascript tutorials , Java Script, Callback functions , techsith, techsittube
#javaScript #promises #promise
*My Udemy Courses

Follow me for technology updates
*
*
*
*
*

Help me translate this video.
*
Note: use to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Nguồn: https://alimentproteine.com/

Xem thêm bài viết khác: https://alimentproteine.com/cong-nghe/

admin

RELATED ARTICLES

28 COMMENTS

  1. Priyanshu Chaudhary Posted on June 30, 2020 at 5:24 pm

    Simple to understand.

    Reply
  2. Preeti Katoch Posted on June 30, 2020 at 5:24 pm

    Crisp and clear

    Reply
  3. Jyotim Kashyap Posted on June 30, 2020 at 5:24 pm

    i promise to like everyvideo of yours that helps me in this web dev journey.

    Reply
  4. Abdelrahman Posted on June 30, 2020 at 5:24 pm

    Youtube algorithms should put this in the first search results

    Reply
  5. Obodo David Posted on June 30, 2020 at 5:24 pm

    i like this…very wonderful

    Reply
  6. عبد العزيز المطيري Posted on June 30, 2020 at 5:24 pm

    You're master

    Reply
  7. Jarom Denny Posted on June 30, 2020 at 5:24 pm

    Awesome tutorial! Very easily understood and useful

    Reply
  8. Manas Singh Posted on June 30, 2020 at 5:24 pm

    the cover exactly describes my situation

    Reply
  9. vivek singh Posted on June 30, 2020 at 5:24 pm

    simple n crisp

    Reply
  10. Júlio Freitas Posted on June 30, 2020 at 5:24 pm

    At the beginning of the video he mentioned the callback function so I saw that he had a video on this subject suggested by youtube, I paused this video and went to learn about the callback function. When I returned to this video I realized that I had used the same principle as a callback function hahah

    Reply
  11. Ian Rust Posted on June 30, 2020 at 5:24 pm

    Like others on this topic you didn't demo an actual asynchronous call, you just resolved the promise immediately which makes it basically just a weird function call. I don't see how the blocking behavior happens, with the code there, anything asynchronous would just reject immediately.

    Reply
  12. S. P. Posted on June 30, 2020 at 5:24 pm

    This was so so clear, thank you so much!

    Reply
  13. Soumya Surajita Posted on June 30, 2020 at 5:24 pm

    every time I have to prepare for interview questions I always visit this site for better understanding and again clearing my concepts..and for a revision. No where I see such a nice explanation with very simple examples..

    Reply
  14. Irfan Khan Posted on June 30, 2020 at 5:24 pm

    Such a nice explanation to a complex concept .You are a rockstar.

    Reply
  15. Arash Asnaashari Posted on June 30, 2020 at 5:24 pm

    thannnnnnnk you man

    Reply
  16. myrin Posted on June 30, 2020 at 5:24 pm

    Thanks a lot, first tutorial i understood!

    Reply
  17. Kent Wong Posted on June 30, 2020 at 5:24 pm

    Thanks for creating this video! Very clear explanation!

    Reply
  18. Danish Tariq Posted on June 30, 2020 at 5:24 pm

    The best explanation on promises, you are gods gift to humanity.

    Reply
  19. Me Compu Posted on June 30, 2020 at 5:24 pm

    Hi just a question on the last part using the race function. Based off on your initial explanations prior to this alternative you said that as for the concept functions are dependent on previous promises but at the end you mentioned race which is invoked by 1 function completed. Then in the race the base function would always win?? as te others are dependent of this base promise?? Otherwise it should be a relay function not a race..You mentioned the then function triggers after after being resolved then does it mean that your method chain at the bottom code will not run at all if the cleanRoom promise is rejected?

    Reply
  20. silence Posted on June 30, 2020 at 5:24 pm

    this channel is great and i have a bonus for all of you on my channel if you are serious in learning JavaScript

    Reply
  21. Jagdesh Kumar Posted on June 30, 2020 at 5:24 pm

    This is one of the best explanation video I have ever seen. Thank you

    Reply
  22. Moco Coco Posted on June 30, 2020 at 5:24 pm

    Could you help me, please. Well, first let me thank you for all those wonderful videos you took time to produce and share online. God bless you for that.

    I am knew to JS and I am onto learning those promises. So I saw other sources saying that Catch is not for catching Reject state, although it works there too. Catch should be for catching an unexpected error. Rather Then has (or can have) two functions as parameters – first one for Resolve, the second for Reject.

    I hope I am bringing a constructive question.

    Also from your example where the result is – finished Cleaned The Room remove Garbage won Icecream. So seems it does not start from first to last. Seems like "finished" i.e. last Then comes with empty param, then it goes back to first. Could elaborate on that.

    Thank you.

    Reply
  23. abhinav tyagi Posted on June 30, 2020 at 5:24 pm

    very nicely explained,
    I've been struggling in understanding ES6 concepts through MDN and other websites.
    so thankful that u created this playlist.

    Reply
  24. Abhiram Gupta Posted on June 30, 2020 at 5:24 pm

    its Very easy way to understand the promises concept.I watched so many videos ,but i cleared after watching this…Thanks

    Reply
  25. Santosh Shah Posted on June 30, 2020 at 5:24 pm

    These 177 dislike must be from the php developer. 😀

    Reply
  26. Santosh Shah Posted on June 30, 2020 at 5:24 pm

    No one can explain better than you techshit. Thanks a lot.

    Reply
LEAVE A COMMENT