Promises in Javascript
What are Promises in Javascript?
A promise in javascript is a special object which returns a value after an asynchronous operation is performed successfully or returns an error in case of failure.
Benefits of promises
Avoid callback hell
Clean code...
mansim.hashnode.dev5 min read