---
title: "Discussion on \"What is a Callback Function in JavaScript? JS Callbacks Example Tutorial\" | Hashnode"
description: "Discussion on \"What is a Callback Function in JavaScript? JS Callbacks Example Tutorial\". In JavaScript there are higher order methods and functions that accept a function as an argument. These functions used as arguments for other functions are called callback functions.\nWhat is a callback in JavaScript?\nA callback is a function passed a..."
url: "https://hashnode.com/posts/what-is-a-callback-function-in-javascript-js-callbacks-example-tutorial/66b0c3bcc82f8da076e5b028"
---

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

Discussion

# [What is a Callback Function in JavaScript? JS Callbacks Example Tutorial](https://freecodecamp.org/news/what-is-a-callback-function-in-javascript-js-callbacks-example-tutorial?utm_source=hashnode&utm_medium=feed)

In JavaScript there are higher order methods and functions that accept a function as an argument. These functions used as arguments for other functions are called callback functions. What is a callback in JavaScript? A callback is a function passed a...

Aug 9, 2022 · 9 min read · freecodecamp.org  
Read the article

-   [#callbacks](https://hashnode.com/tag/callbacks)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Ilenia Magoni](https://hashnode.com/@uccellino95)

@uccellino95

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
