How does JS keep its Promises?
Imagine a scenario where your friend has promised to accompany you on the day of your driving test to boost your confidence.
Two things can happen
- Promise is kept and you are happy
- For some reason, your friend didn't keep the promise.
- Promise is fulfilled
- Promise is rejected
3.4K+ developers have started their personal blogs on Hashnode in the last one month.
Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more