Promise in Javascript
The Promise object represents the eventual completion (or failure) of an asynchronous operation and its resulting value.
In simple words :
A Promise is like a guarantee that something will be done in the future. It handles tasks that takes time, lik...
java-script.hashnode.dev2 min read