

So in this article, I will be telling you a short story which explains what promises are and how exactly they work. People don't understand what a promise is in JavaScript is because they don't really know what it is about and how it behaves in simple and relatable terms. I have read a lot of articles on promises and the problem is that many of these guides don't explain them in a relatable way. So I decided to expand this into an introductory tutorial on JavaScript promises. I recently published this as a thread on Twitter and was blown away by the responses.

If you're a JavaScript beginner, you might be struggling to understand what a promise really is.
