Callbacks vs Promises in JavaScript




Donate us:
http://paypal.me/tipawais

Callback vs promises in javascript and nodejs. Asynchronous programming lead us to callbacks and promises. You will learn what is callback, what is promise, how to use promise and callbacks in javascript and where to use it.

JavaScript Book: http://amzn.to/2DoQS1i

Join facebook group:
https://www.facebook.com/groups/996305460498149/

More Javascript Tutorials:


Original source


30 responses to “Callbacks vs Promises in JavaScript”

  1. I totally get the problem. It happens alot to me on ajax calls. The line below my ajax call fires before I get the value from my ajax call..and I too used the same technique. That is added all cases inside the success callback of the ajax so that they only fire after the value is recieved

  2. +Awais Mirza can i ask you a question regarding intellij idea? i was trying to run on my computer command prompt to execute the intellij idea .java files. But i cant find the .java files and i always encounter "could not find main class". Could you help out? Really appreciate your java beginners video.

Leave a Reply