---
title: "Discussion on \"Callback Hell - JavaScript\" | Hashnode"
description: "Discussion on \"Callback Hell - JavaScript\". Before diving into the central concept i.e. Callback Hell, let's first understand What is Callback and why it is used?\n“a callback is a function passed as an argument into another function”\nCallbacks ensure that a function does not run before a task ..."
url: "https://hashnode.com/posts/callback-hell-javascript/63084127a2817f68c2fdf032"
---

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

Discussion

# [Callback Hell - JavaScript](https://technobytes.hashnode.dev/callback-hell-javascript?utm_source=hashnode&utm_medium=feed)

Before diving into the central concept i.e. Callback Hell, let's first understand What is Callback and why it is used? “a callback is a function passed as an argument into another function” Callbacks ensure that a function does not run before a task ...

Aug 26, 2022 · 2 min read · technobytes.hashnode.dev  
Updated Feb 26, 2023  
Read the article

-   [#callback](https://hashnode.com/tag/callback)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#asynchronous-javascript](https://hashnode.com/tag/asynchronous-javascript)

## Written by

[Prateek Singh](https://hashnode.com/@singh799)

@singh799 · Mumbai, Maharashtra, India

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

Software Developer | Technical Content Writer

I began my career as a software developer after obtaining a degree in Computer Science from a Pune university. I quickly found that I had a passion for coding and problem-solving, and I have spent the last several years honing my skills in various programming languages and technologies. I have experience in developing web applications, mobile applications, and desktop applications, and I am always eager to learn more about emerging technologies. As I progressed in my career, I discovered another passion: writing. I began to explore content writing as a way to express myself creatively and share my knowledge with others. I found that I had a knack for explaining complex technical concepts in a way that was easy for others to understand, and I soon began writing articles and blog posts on topics related to software development. Today, I work as a freelance software developer and content writer, taking on projects that allow me to combine my technical expertise with my love of writing. I have worked on everything from developing custom software solutions for small businesses to creating engaging content for technology websites and blogs. I am dedicated to delivering high-quality work that meets the needs of my clients, and I am always looking for new and exciting projects to take on.

## Responses 1

Markdown supported · ⌘↵ to post

[Phillippe Santana](https://hashnode.com/@phillippelevidad)

[Aug 26, 2022](https://hashnode.com/posts/callback-hell-javascript/63084127a2817f68c2fdf032/comment/6308cff24d50fd71142c73c5)

Greate article, Prateek Singh. The callback hell is really a big problem, as the name implies.

It would be nice if you could edit the article describing ways to avoid this problema, or link to other articles that you think present good alternatives :)

Best!

[Prateek Singh](https://hashnode.com/@singh799)

[Aug 26, 2022](https://hashnode.com/posts/callback-hell-javascript/63084127a2817f68c2fdf032/comment/6308cff24d50fd71142c73c5#reply-6308da704d50fd71142c75d4)

Thank you very much for your kind words. And I'm going to write an article about how to avoid these major issues.
