---
title: "Discussion on \"Callbacks in JavaScript: Why They Exist\" | Hashnode"
description: "Discussion on \"Callbacks in JavaScript: Why They Exist\". Learn what callback functions are, why JavaScript needs them for async code, and the nesting problem that Promises were built to solve."
url: "https://hashnode.com/posts/callbacks-in-javascript-why-they-exist/69d9ec6bc8e5007ddb60ced6"
---

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

Discussion

# [Callbacks in JavaScript: Why They Exist](https://anilkambar01.hashnode.dev/callbacks-in-javascript-why-they-exist?utm_source=hashnode&utm_medium=feed)

Learn what callback functions are, why JavaScript needs them for async code, and the nesting problem that Promises were built to solve.

Apr 11 · 6 min read · anilkambar01.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#callback](https://hashnode.com/tag/callback)
-   [#javascript-callbacks-anonymous-functions](https://hashnode.com/tag/javascript-callbacks-anonymous-functions)

## Written by

[Anil Kambar](https://hashnode.com/@anilkambar02)

@anilkambar02

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

Tech + Learning Journey

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
