JavaScript promises
What is a JavaScript Promise?
JavaScript promises are what their name says. You use them to make a promise to do something, usually asynchronously.
When the task completes, you either fulfill π your promise or fail π£ to do so.
A Promise is a constr...
abdullah-ahadi.hashnode.dev3 min read