---
title: "Discussion on \"Callbacks in JavaScript and how they work.\" | Hashnode"
description: "Discussion on \"Callbacks in JavaScript and how they work.\". In JavaScript, a callback is a function that is passed as an argument to another function and is executed after that function has finished its task. Callbacks are commonly used in asynchronous programming, where a function needs to perform an operati..."
url: "https://hashnode.com/posts/callbacks/642bf2f435a28c7fcd8f5340"
---

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

Discussion

# [Callbacks in JavaScript and how they work.](https://abhitechcode.hashnode.dev/callbacks?utm_source=hashnode&utm_medium=feed)

In JavaScript, a callback is a function that is passed as an argument to another function and is executed after that function has finished its task. Callbacks are commonly used in asynchronous programming, where a function needs to perform an operati...

Apr 4, 2023 · 2 min read · abhitechcode.hashnode.dev  
Read the article

-   [#callbacks-in-javascript-and-how-they-work](https://hashnode.com/tag/callbacks-in-javascript-and-how-they-work)

## Written by

[ABHISHEK JADHAV](https://hashnode.com/@Abhitech)

@Abhitech

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

Tech

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
