July 8, 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]



Check out my courses to become a PRO!

We are getting closer and closer to launching the Creative Javascript Course. I wanted to share a small portion of the Async Javascript chapter of the course where we will learn everything there is to know about how async code works in javascript.
We are going to take a look at all the popular ways async code is being run such as callbacks, promises and the new async await.

🎁Support me on Patreon for exclusive episodes, discord and more!

Microphones I Use
Audio-Technica AT2020 – (Amazon)
Deity V-Mic D3 Pro – (Amazon)
BEHRINGER Audio Interface – (Amazon)

Camera Gear
Fujifilm X-T3 – (Amazon)
Fujinon XF18-55mmF2.8-4 – (Amazon)

PC Specs
Kingston SQ500S37/480G 480GB – (Amazon)
Gigabyte GeForce RTX 2070 – (Amazon)
AMD Ryzen 7 2700X – (Amazon)
Corsair Vengeance LPX 16GB – (Amazon)
ASRock B450M PRO4 – (Amazon)
DeepCool ATX Mid Tower – (Amazon)
Dell Ultrasharp U2718Q 27-Inch 4K – (Amazon)
Dell Ultra Sharp LED-Lit Monitor 25 2k – (Amazon)
Logitech G305 – (Amazon)
Logitech MX Keys Advanced – (Amazon)

DISCLAIMERS:
I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.

🛴 Follow me on:
Twitch:
Twitter:
Instagram:
Github:

#programming #javascript

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

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

admin

RELATED ARTICLES

42 COMMENTS

  1. Bailar Lasagna Posted on July 1, 2020 at 5:44 am

    Great video. Does a better job explaining all of these concepts than the other async stuff I've seen on YT

    Reply
  2. Himanshu Chourasia Posted on July 1, 2020 at 5:44 am

    Such an amazing and easy explanation of the videos !!! just loved it !!! Would definitely want to learn react from you !

    Reply
  3. Yueyang Liu Posted on July 1, 2020 at 5:44 am

    I just found out that you can not return anything from the setTimeout function

    Reply
  4. Comet K. Posted on July 1, 2020 at 5:44 am

    Thank you!!!!!!!!!! It helps a loooooooot

    Reply
  5. Faiz Quraishi Posted on July 1, 2020 at 5:44 am

    Where can I find the next section?

    Reply
  6. Edwin Hakobyan Posted on July 1, 2020 at 5:44 am

    and once the data come backs 😀 18:34

    Reply
  7. ibrahim jamil Posted on July 1, 2020 at 5:44 am

    what ever your name is but i really loved your work your down to earth nature and humbleness really amazing maybe thats the reason why people learn fast may be but amazing i saw brad course but your ones are much more than that include humble and down to earth nature appreciate your work from Pakistan. my mentor from now

    Reply
  8. Musa Khan Posted on July 1, 2020 at 5:44 am

    Callback functions may depend on other callback functions and chains of dependencies like this can become hard to read. The 'hard to read' structure that's formed is known as callback hell. Other JS techniques help make code neater and easier to follow.

    Reply
  9. Musa Khan Posted on July 1, 2020 at 5:44 am

    So callbacks are needed to tell the program that this callback function must be run after that certain slow process is over. Without callbacks, as the program runs synchronously, processes further down the code that depend on data from slower processes above, will not have that data to run. Callbacks ensure that those later processes are run only after the data returns from the slower processes of the program.

    Reply
  10. Chris H Posted on July 1, 2020 at 5:44 am

    really looking forward to buying your JS course, I've started javascript this week in classes and it's not clicking yet and you explain so well :p

    Reply
  11. Sharukkhan M Posted on July 1, 2020 at 5:44 am

    Nice Video Man
    Use Plotly for Android Apps is permitted?
     I wanna use plotly for my analysis in my android app and publish in Google Play Store and IOS AppStore, Is that Acceptable to use plotly inside my Android App as well as IOS App, Or Is there any subscription to use Plotly in Android App,I didn't get into my mind by reading the license, Please answer in layman terms and  answer will be very useful for me.
            Thank you in advance!

    Reply
  12. Ande Yashwanth Posted on July 1, 2020 at 5:44 am

    18:16 18:22 brackets around callback (user) =>
    disappear?

    Reply
  13. Shahboz Abdullayev Posted on July 1, 2020 at 5:44 am

    So AJAX should have been called AJAJ since it is Asycronous Javascript And Json. Hmm interesting.

    Reply
  14. Cooking Music Posted on July 1, 2020 at 5:44 am

    Thank you this was a good lessons on the basics!

    Reply
  15. Juhand Van. Posted on July 1, 2020 at 5:44 am

    which theme are you use for vsCode ?

    Reply
  16. Akshat shah Posted on July 1, 2020 at 5:44 am

    Hey, nice video. Can you please make some video for promise & deffered object?

    Reply
  17. Siddharth Ray Posted on July 1, 2020 at 5:44 am

    "Nobody uses XML anymore"
    -Dev Ed

    I go to work every day and cry at my desk because they use XML.

    Reply
  18. 1Vlada 1 Posted on July 1, 2020 at 5:44 am

    Dev do you plan to make video for typescript maybe ?

    Reply
  19. alreadytakenindeed Posted on July 1, 2020 at 5:44 am

    Awesome tutorial Ed, keep up the awesome work!

    Reply
  20. SUPARNO BHATTACHARYA Posted on July 1, 2020 at 5:44 am

    Well, I have a question…If I use promise.all on two promises that have a setTimeOut of 2000ms and 5000ms respectively, then will we not get both the output after 5000ms? Cuz in the video setTimeOut having 2000ms logged into the console first, which I wasn't expecting.

    Reply
  21. Xavier Hazzard Posted on July 1, 2020 at 5:44 am

    I was starting to panick because everywhere I read, I couldn't understand callbacks, promises, async and await. This video has helped me so much. Thank you ed

    Reply
  22. Марат `Hagen von Wolf` Валерьевич Posted on July 1, 2020 at 5:44 am

    Hi! thank you for your video, let me know what vscode theme do you use, it looks nice..

    Reply
  23. Jerry 0 Posted on July 1, 2020 at 5:44 am

    whats up my Chigga

    Reply
  24. Killer B Posted on July 1, 2020 at 5:44 am

    Love you bro, i have learned a lot from you.. You're awesome and gorgeous big bro .

    Reply
  25. Rym Bouchetara Posted on July 1, 2020 at 5:44 am

    smash the like button before even watching

    Reply
  26. Jopet Cervantes Posted on July 1, 2020 at 5:44 am

    What will i do if you will iterate an httpRequest? for my experience. when i put a request inside a loop, it automatically run all the promise at the same time

    Reply
  27. awez khan Posted on July 1, 2020 at 5:44 am

    This was so informative….Thank you for putting this video up.

    Reply
  28. Puchi Posted on July 1, 2020 at 5:44 am

    Please make your tutorials on Youtube, and if paid then udemy THANK YOU

    Reply
  29. stephen jason Posted on July 1, 2020 at 5:44 am

    So you like the weeknd

    Reply
  30. milad ghasemy Posted on July 1, 2020 at 5:44 am

    thank you. helped a lot

    Reply
  31. saransh mehra Posted on July 1, 2020 at 5:44 am

    bro !! you are simply awesome . great explanation .

    Reply
  32. zymase thecatalyst Posted on July 1, 2020 at 5:44 am

    good usage of **Figma

    Reply
  33. Suraj Kumar Posted on July 1, 2020 at 5:44 am

    Hallo sir,
    Can you help me how can i call, the function delay().. in below code.

    async function printme(){
    console.log("start");
    await delay(20000);
    console.log("end");
    }

    function delay(msTodelay){
    …..
    }
    printme();

    Reply
  34. TrollBronze Posted on July 1, 2020 at 5:44 am

    pls add time stamp i wanna kms.

    Reply
  35. Tanay Raj Posted on July 1, 2020 at 5:44 am

    Wonderful tutorial my gorgeous teacher on internet…

    Reply
  36. Binoy Darvin Posted on July 1, 2020 at 5:44 am

    This is the right way to explain all this stuff. Very good tutorial.

    Reply
  37. datoubi Posted on July 1, 2020 at 5:44 am

    upvote for the intro 😀

    Reply
  38. Austin Vanraden Posted on July 1, 2020 at 5:44 am

    Update your bio in your Enrollment page.

    Reply
  39. Bennett Dungan Posted on July 1, 2020 at 5:44 am

    I think at 18:12 by reusing the parameter name `user` in the callback function might be confusing to some since the variable that the loginUser() is defined on is also named 'user'. I had to do a double take at that wondering why we were passing in the variable definition into the callback when I realized that it was just that they were both named the same thing. It may be clearer to think of the callback function's parameter as `userInput`.

    Reply
  40. Harkirat Singh Virdi Posted on July 1, 2020 at 5:44 am

    Thanks Ed. Beautifully Explained.

    Reply
  41. Md Jahidul Islam Posted on July 1, 2020 at 5:44 am

    Hi , I have a question:
    how we can do something lilke: let's say
    1. i want to create a user
    2.create a video suggestion list for that user
    3. show that video suggestion list
    in this scenario , let's assume we failed at number 3: and we are telling user try again. but already 1 & 2 action is done. we don't want that.
    we want 3 action need to be done. if any of them is giving error then stop the whole process.
    how to do it in javascript ?please reply

    ======================

    we can't just use if else then if 1 is success then 2 will run then let's say 2 give error( for bad internet connection or anything else ) then 3 can not run but 1 is already done.

    Reply
  42. md.jannatul naem Posted on July 1, 2020 at 5:44 am

    Total understanding of why we should use async await
    thank you Ed

    Reply
LEAVE A COMMENT