Understanding JavaScript Promise
According to MDN, a Promise, in JavaScript, is an object that represents the eventual completion (or failure) of an asynchronous operation and its resulting value. But what does that actually mean and how do promises work?
An analogy
I went to Bangal...
abinjohn.in6 min read