---
title: "Discussion on \"Pass the Function, Don't Call It: Callbacks in JavaScript Explained\" | Hashnode"
description: "Discussion on \"Pass the Function, Don't Call It: Callbacks in JavaScript Explained\". Functions as values, what a callback is, why callbacks aren't always async, and how nesting turns into callback hell, with real output"
url: "https://hashnode.com/posts/javascript-callbacks/6b055afd9218f25f12cb34f1"
---

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

Discussion

# [Pass the Function, Don't Call It: Callbacks in JavaScript Explained](https://jaydeepkanzariya.hashnode.dev/javascript-callbacks?utm_source=hashnode&utm_medium=feed)

Functions as values, what a callback is, why callbacks aren't always async, and how nesting turns into callback hell, with real output

2d ago · 9 min read · jaydeepkanzariya.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#callback](https://hashnode.com/tag/callback)

## Written by

[Jaydeep Kanzariya](https://hashnode.com/@jaydeepkanzariya)

@jaydeepkanzariya · India

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
