16.12: Promises Part 2 – Topics of JavaScript/ES6

How to make (keep?) your own (JavaScript) promises?

🎥 Next Video:

🔗 Promise on MDN:

🎥 setTimeout():
🎥 ES6 Arrow Function:

🚂 Website:
💖 Patreon:
📚 Book recommendations:


🎥 For more videos on ES6/JavaScript:
🎥 For more Coding Challenges:







13 responses to “16.12: Promises Part 2 – Topics of JavaScript/ES6”

  1. Michele Masina Avatar

    Hey Dan, just another quick tip to make your code slightly shorter. When you write .catch(err => console.error(err)) you can just write .catch(console.error) instead. This is the case every time you would call an arrow function with just one parameter, only to call another function on that parameter.

  2. TheBarthinator Avatar

    oh my this is way easier than i thought

  3. Extra Pickles Please Avatar

    Hi DAN! not supposed to be here, still on the p5js tutorials, I SHALL CATCH UP THOUGH! Peace & Love on the CodingTrain! CHOoOOOoOoooOOOoOCHooOOOoOOO

  4. Caraxian Avatar

    You should really cancel execution of the function after rejecting otherwise the program will be running the setTimeout to resolve a rejected promise which is a waste of system resources ๐Ÿ™‚

  5. Caraxian Avatar

    I know all this but you make it so interesting to watch so I like to watch anyway ๐Ÿ˜€

  6. Pieter Dirix Avatar

    Could you do some more native javascript? I feel like it would be interesting

  7. David Castillo Avatar

    Thanks Daniel… very Useful do you have any video or plan of video where we get data from firebase using a searchbox?

  8. Isfhan Ahmed Avatar

    can you make video on javascript and ecmascript without p5.js

  9. ์†Œ๊ฒฝํ˜„ Avatar

    Daniel you're Genius!!

  10. Victor Martins Onuoha Avatar

    Your tutorials are awesome!

  11. Sikhe Ga Pakistan Avatar

    How do you know that you have made any type of coding mistake? plz answer i am waiting!

  12. Sikhe Ga Pakistan Avatar

    You're Just amazing!!!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *