---
title: "Discussion on \"JavaScript Promises - Explain Like I'm Five\" | Hashnode"
description: "Discussion on \"JavaScript Promises - Explain Like I'm Five\". JavaScript Promise is an important topic to learn. None of the interviews are complete without promises. Let's start efficiently learning them."
url: "https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [JavaScript Promises - Explain Like I'm Five](https://blog.greenroots.info/javascript-promises-explain-like-i-am-five?utm_source=hashnode&utm_medium=feed)

JavaScript Promise is an important topic to learn. None of the interviews are complete without promises. Let's start efficiently learning them.

Jul 31, 2021 · 10 min read · blog.greenroots.info  
Updated Jul 18, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Tapas Adhikary](https://hashnode.com/@atapas)

@atapas · Bangalore

  
[View profile](https://hashnode.com/@atapas)

Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source

Co-Founder, @CreoWis | Teacher, @tapaScript | Founder, @ReactPlay | YouTuber | Writer | Human

## Responses 27

Markdown supported · ⌘↵ to post

[Tejas Khanolkar](https://hashnode.com/@commonman)

[Dec 25, 2023](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6589aef376c8e7cda13b74ed)

good explanation sir...

[Tapas Adhikary](https://hashnode.com/@atapas)

[Dec 28, 2023](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6589aef376c8e7cda13b74ed#reply-658d2d1bd5ca6e0252621f85)

Thanks!

[Andrew](https://hashnode.com/@worldOfVerdure)

[Oct 19, 2023](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/653198839bbe6d44465242b0)

Amazing article of a tough subject. Thank you.

Would you mind discussing the resolve and reject callbacks in the executor function? I am having a tough time figuring out exactly what these methods do. Many examples just pass a string into them and it makes them feel like a glorified console.log() function.

Could you explain what is going on under the hood? It would be greatly appreciated. Either way, thank you for the article.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 21, 2023](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/653198839bbe6d44465242b0#reply-653330da1876d54fd56939d6)

Thanks a lot, Andrew.

Could you please check this one? I have explain it in a greater details here:

JavaScript Synchronous vs. Asynchronous | Promises | Asynchronous Programming | Task and Job Queue

[youtu.be/pIjfzjsoVw4](https://youtu.be/pIjfzjsoVw4)

[Eslam Ahmed](https://hashnode.com/@Eslam-Ahmed)

[Aug 24, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61253531b115357df05f47db)

It can't be more clear, Great article and wonderful explanation

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 25, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61253531b115357df05f47db#reply-61263b61b115357df05f5ef4)

Thank you for the feedback...👏👏👏

[Arwa Abdulalim](https://hashnode.com/@arwa227)

[Aug 20, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/611fd8e8e404793819ca7c61)

AMAZING .. many thanks.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 21, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/611fd8e8e404793819ca7c61#reply-6120ed25e404793819ca92f8)

You are welcome, [Arwa Abdulalim](https://hashnode.com/@arwa227)

[Anirudh Panda](https://hashnode.com/@anirudhpanda)

[Aug 14, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6117d966e9f08a51fd85fe4f)

A very helpful and creative way to explain! Thank you

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 14, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6117d966e9f08a51fd85fe4f#reply-6117f9ade9f08a51fd8602cc)

I'm glad you liked it.

[Favourite Jome](https://hashnode.com/@Favourite)

[Aug 14, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6117ab91f6ebde51f64fa6a2)

Best explanation ever 🤩, with the story it was very easy to understand!

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 14, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6117ab91f6ebde51f64fa6a2#reply-6117bb60f6ebde51f64fa82e)

Thanks, Favourite 😃.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 14, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6117ab91f6ebde51f64fa6a2#reply-6117bb60f6ebde51f64fa832)

Thanks, Favourite 😃.

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

[Aug 8, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610f7539528eff11aea8ab09)

Really Impressing the way you explained, this is the easiest explanation and demonstration of promises(JS) I have read.

Thanks for Sharing.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 8, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610f7539528eff11aea8ab09#reply-610fcc96b79d6a1136682c03)

Thanks a lot, Adarsh.

[Yash Tiwari](https://hashnode.com/@Coursesity)

[Aug 6, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610d81b3528eff11aea88923)

Extremely beautiful and well-explained article on JavaScript 👌✨

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 7, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610d81b3528eff11aea88923#reply-610def14528eff11aea88eb1)

Thank you, Yash.

[Masoom Kumar](https://hashnode.com/@shuntzhere)

[Aug 3, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108e05a67f3446d98904779)

Love the explanations after the code examples. Can't wait for more in this series. Thanks [Tapas Adhikary](https://hashnode.com/@atapas) this is amazing.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 3, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108e05a67f3446d98904779#reply-6108ef8b67f3446d9890490c)

Thank you very much [Masoom Kumar](https://hashnode.com/@shuntzhere)

[Suhail Kakar](https://hashnode.com/@suhailkakar)

[Aug 3, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108d28967f3446d9890460d)

Best explanation ever 🔥

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 3, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108d28967f3446d9890460d#reply-6108d6e9b97c436d241bebfd)

Thanks [Suhail Kakar](https://hashnode.com/@suhailkakar), Glad you liked it.

[Vansh Sharma](https://hashnode.com/@vanshsharma)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108507967f3446d98903fd0)

Thanks man 🙏🙏. I read whole blog without realising I was reading in light mode ( blog was interesting and easy to understand). Great work 👏👏

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 3, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108507967f3446d98903fd0#reply-6108c6d7b97c436d241bea60)

Thanks [Vansh Sharma](https://hashnode.com/@vanshsharma)

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108027fb97c436d241bdda2)

Excellent article [Tapas Adhikary](https://hashnode.com/@atapas)!

I love this new series of yours.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6108027fb97c436d241bdda2#reply-610814b267f3446d98903a1c)

Thank you 🙂.

[Chandrakanth](https://hashnode.com/@mchandrakanth)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6107e62cb862bb4f17a4f897)

Incredible. The way you explain things makes the concept much more fun and easy to learn.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6107e62cb862bb4f17a4f897#reply-6107ec46b97c436d241bda9e)

Thank you very much... Means A lot to me 🙏

[Pascal Akunne](https://hashnode.com/@kodecheff)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610719b13b9b85399dcf52e5)

This is superb! JavaScript Promise has never been this clear.. I felt like I was really five 😅 I love the analogy you used man.. Looking forward to the next article 👍

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 2, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/610719b13b9b85399dcf52e5#reply-61074b943b9b85399dcf548c)

Sure man. Thank you very much. Glad, you found it helpful.

[Laughing Dev](https://hashnode.com/@laughing-dev)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106c67533a2a43971a2ecfc)

Wow [Tapas Adhikary](https://hashnode.com/@atapas)! I love this one 😍😍 Your examples are awesome 👏👏

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106c67533a2a43971a2ecfc#reply-6106cf983b9b85399dcf4eb6)

Yayy, thanks a lot 🙏

[Idris Olubisi](https://hashnode.com/@olanetsoft)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106ac4a33a2a43971a2ea04)

This is pretty interesting Tapas.. I have learnt a lot, ranging from article structure, real world explanation and analysis 👏 thank you for sharing ☺

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106ac4a33a2a43971a2ea04#reply-6106af8033a2a43971a2eaad)

Thanks a lot, Sir. I'm very happy to hear that 🙂

[Neha Soni](https://hashnode.com/@nehasoni)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61069c993b9b85399dcf48f8)

This article explains everything like as for 5 years old. This is super helpful!! Exactly for me😉😅 Thank you for sharing!

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61069c993b9b85399dcf48f8#reply-6106a0dd3b9b85399dcf496b)

Thanks a lot, Neha. I'm very glad, you found it helpful.

[Victoria Lo](https://hashnode.com/@victoria)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61067ab633a2a43971a2e52e)

I have expressed how much I loved this article on Twitter but I'll do it again here! Well done! A very creative and original article that the one and only Tapas can write!!

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61067ab633a2a43971a2e52e#reply-6106866d33a2a43971a2e62f)

Thank you 🤩. No words...

[Ayodele Samuel Adebayo](https://hashnode.com/@unclebigbay)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106345c33a2a43971a2dfaf)

wow [Tapas Adhikary](https://hashnode.com/@atapas), this is the best explanation I have come across on JS promise ever.

Looking forward to more of this sir.

Keep setting the pace.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 1, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6106345c33a2a43971a2dfaf#reply-610640323b9b85399dcf41dc)

Thank you very much. Surely.. The next one is on it's way 🚀

[Apoorv Tyagi](https://hashnode.com/@apoorvtyagi)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6105654933a2a43971a2d281)

Amazing article [Tapas Adhikary](https://hashnode.com/@atapas). This is probably the easiest way someone has explained promises.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6105654933a2a43971a2d281#reply-610569863b9b85399dcf34bd)

Yay, thank you Apoorv. Please feel free to share it in your circle. Someone may find it useful 😀.

[Nyareh David](https://hashnode.com/@NyarehD)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61053ce633a2a43971a2cec7)

I have a question. Do I need to use async/await?

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61053ce633a2a43971a2cec7#reply-610542de3b9b85399dcf310f)

[Nyareh David](https://hashnode.com/@NyarehD), it is a great question.

The short answer is: Yes. The async/await syntax is dramatically easier than a long chain with promise. If it is in your hands, with async/await, you may seldom use the `.then()`, `.cacth()` methods.

But, we need to keep in mind that they are based on JavaScript promises. There are also great use cases of them working together. `Promise.all()` is a classic example. Lastly, take my `interview` warning at the beginning of this article.

Longer answer: I am preparing the content around it. Especially the usages of each and both together. You will find them published on my blog as part of this series and [Youtube Channel](https://www.youtube.com/c/TapasAdhikary/featured) in a few weeks. Stay Tuned.

Have a great day!

[Subha Chanda](https://hashnode.com/@nemo)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61050b863b9b85399dcf2afa)

Loved the explanation! ❤️Bookmarked the post. I'll come back to it whenever I need a refresher.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/61050b863b9b85399dcf2afa#reply-6105699333a2a43971a2d32d)

Thank you, sir 🙏

[Rajat Srivastava](https://hashnode.com/@stackupdev)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104eb1a33a2a43971a2c2fe)

Special work done here.. 👏👏

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104eb1a33a2a43971a2c2fe#reply-6104f48b3b9b85399dcf254a)

Thank you very much for recognizing it. Much appreciate 🤩.

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104dc0c33a2a43971a2c10d)

Great explanation of Promises [Tapas Adhikary](https://hashnode.com/@atapas).❤️

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104dc0c33a2a43971a2c10d#reply-6104e1f83b9b85399dcf2385)

Thank you, Yogesh 🙂🙂

[Savio Martin](https://hashnode.com/@saviomartin)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104cefc3b9b85399dcf21b3)

This is a gem 💎, I'm impressed by the quality of this article. How well are you explaining, I have a lot to learn from you bro. Its super awesome you connect real life stories with the JavaScript concepts and gave a very meaningful output. The table where you distinguish both also became useful.

Wow, Appreciate your hard-work behind this masterpiece [Tapas Adhikary](https://hashnode.com/@atapas). Can't wait for the more awesome articles in this series 🙌

[Tapas Adhikary](https://hashnode.com/@atapas)

[Jul 31, 2021](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/6104cefc3b9b85399dcf21b3#reply-6104d1af3b9b85399dcf2210)

Thanks a lot, Savio. Means a lot. I'm surely going to work hard on the rest of the series to make it easygoing 😀
