Promises in JavaScript
A promise is a object that would be returning some value in the near future. because of the "in future thing" , promises are well suited for asynchronous operations.
The concept of promises can be explained through an example more clearly.
Imagine yo...
arush.hashnode.dev3 min read