---
title: "Discussion on \"Hey, Ever get the question how does the Callback Function work in Javascript?\" | Hashnode"
description: "Discussion on \"Hey, Ever get the question how does the Callback Function work in Javascript?\". If you want to know how does callback functions works and why do we use them in Javascript then this is the place."
url: "https://hashnode.com/posts/callback-function-event-loop-in-javascript-reactjs-web-development/61d154bf0cfc5655c1845e66"
---

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

Discussion

# [Hey, Ever get the question how does the Callback Function work in Javascript?](https://blog.denilgabani.com/callback-function-event-loop-in-javascript-reactjs-web-development?utm_source=hashnode&utm_medium=feed)

If you want to know how does callback functions works and why do we use them in Javascript then this is the place.

Jan 2, 2022 · 7 min read · blog.denilgabani.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#event-loop](https://hashnode.com/tag/event-loop)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Denil Gabani](https://hashnode.com/@denilgabani)

@denilgabani · India

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

I like learning things by doing

I am a full stack developer and I like to build website with Javascript. I learn things by doing and now I am also getting more in-depth knowledge by sharing it.

## Responses 1

Markdown supported · ⌘↵ to post

[Mahesh Rao](https://hashnode.com/@MaheshRao98)

[Jan 2, 2022](https://hashnode.com/posts/callback-function-event-loop-in-javascript-reactjs-web-development/61d154bf0cfc5655c1845e66/comment/61d171c80cfc5655c18460d7)

Callback comes super handy if you want to create a dynamic form that automatically calculates the total from the previous inputs without even a click of button. It's great that you shared about this valuable knowledge. Thanks dude.

[Denil Gabani](https://hashnode.com/@denilgabani)

[Jan 2, 2022](https://hashnode.com/posts/callback-function-event-loop-in-javascript-reactjs-web-development/61d154bf0cfc5655c1845e66/comment/61d171c80cfc5655c18460d7#reply-61d17bea0413645f5c7bd880)

Hey Mahesh👋🏻, You are 💯right. If we see the most features of famous Javascript frameworks are built upon these callback functions. We can't even imagine how Javascript world🌎 will look without callback functions.

I am glad that you liked♥ it. It motivates me😃 and more to come💪🏻.
