Are you still writing your async JavaScript code using callbacks or async library? It's the time to start to Promises! What is a Promise? As the word says, Promise is something that can be available now, or in future, or never. When someone promises you something, that can be fulfilled of rejected. In JavaScript, Promise represents the eventual result of an asynchronous function. It has 3 different states: pending - The initial state of a promise. fulfilled - Operation is successful. rejected - Operation failed. Why
Do you Promise?
