JavaScript ES6 / ES2015 – [10] Promises




In this video I will show you how to use promises to deal with asynchronous data in JavaScript ES2015

Source Code – https://github.com/bradtraversy/youtube_es2015_source/tree/master/09_promises

CHECK OUT MY ES2015 COURSE: https://www.eduonix.com/affiliates/id/16-10397

Original source


42 responses to “JavaScript ES6 / ES2015 – [10] Promises”

  1. Still not sure I fully understand promises, but thanks for the API example. I have been struggling with an idea for a while and your example got me going. Was able to authenticate and pull data from the API and put it into the page. Baby steps for sure, but dang it feels good to at least be moving. Thanks for the great videos.

  2. Ugh…ohh boy, gonna have to watch this a few times to get my head around. I feel like I must have missed out on a previous lesson. Cool stuff though I guess…once you understand how it all goes together. Just starting on Node.js.

  3. Gol Durnit Bradley, you did it again.

    Spent 20 min searching for a dead simple explanation of promises for a particular issue I was having. Watched 5 minutes of your video and 'resolved' my issue.

    Thanks again bro-town.

  4. I am new to javascript. This ES6 has more familiarity with java and python than with jquery. Should I learn this for webdev or
    is there another javascript version (angular,… sorry don't know what that is so far) which is higher in demand? Thanks

  5. Shit… I'm getting error:
    𝗩𝗠𝟮𝟬𝟱𝟳:𝟭𝟬 𝗨𝗻𝗰𝗮𝘂𝗴𝗵𝘁 𝗧𝘆𝗽𝗲𝗘𝗿𝗿𝗼𝗿: 𝗖𝗮𝗻𝗻𝗼𝘁 𝗿𝗲𝗮𝗱 𝗽𝗿𝗼𝗽𝗲𝗿𝘁𝘆 '𝘀𝘁𝗮𝘁𝘂𝘀' 𝗼𝗳 𝘂𝗻𝗱𝗲𝗳𝗶𝗻𝗲𝗱(…)
    on this line:
    𝗶𝗳(𝘁𝗵𝗶𝘀.𝘀𝘁𝗮𝘁𝘂𝘀 >= 𝟮𝟬𝟬 && 𝘁𝗵𝗶𝘀.𝘀𝘁𝗮𝘁𝘂𝘀 < 𝟯𝟬𝟬) {
    This code is inside 𝐱𝐡𝐫.𝐨𝐧𝐥𝐨𝐚𝐝 function.
    What should I do?

Leave a Reply