---
title: "Comment by Andrew on \"JavaScript Promises - Explain Like I'm Five\" | Hashnode"
description: "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 fig"
url: "https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39/comment/653198839bbe6d44465242b0"
---

[Discussion](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39)

Comment [JavaScript Promises - Explain Like I'm Five](https://hashnode.com/posts/javascript-promises-explain-like-i-am-five/6104b5e433a2a43971a2be39)

[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)
