---
title: "Discussion on \"Callbacks in JavaScript: Why They Exist\" | Hashnode"
description: "Discussion on \"Callbacks in JavaScript: Why They Exist\". JavaScript is famous for handling asynchronous operations like:\n\nAPI requests\n\nFile reading\n\nTimers\n\nDatabase queries\n\n\nBut before Promises and Async/Await became popular, callbacks were the main way"
url: "https://hashnode.com/posts/callbacks-in-javascript-why-they-exist/69ff8adef239332df4ef7b4a"
---

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

Discussion

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

JavaScript is famous for handling asynchronous operations like: API requests File reading Timers Database queries But before Promises and Async/Await became popular, callbacks were the main way

May 9 · 4 min read · kushagrablogs.hashnode.dev  
Read the article

-   [#callbacks-and-promises](https://hashnode.com/tag/callbacks-and-promises)
-   [#callback-functions](https://hashnode.com/tag/callback-functions)
-   [#callback-hell](https://hashnode.com/tag/callback-hell)

## Written by

[Kushagra Trivedi](https://hashnode.com/@kushagratrvd)

@kushagratrvd

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
