---
title: "Discussion on \"Callbacks in JavaScript: Why They Exist\" | Hashnode"
description: "Discussion on \"Callbacks in JavaScript: Why They Exist\". 1. Functions as Values in JavaScript\nIn JavaScript, functions are treated like any other value. This means they can be stored in variables, passed into other functions, and returned from functions. Be"
url: "https://hashnode.com/posts/callbacks-in-javascript-why-they-exist/69fc33b13d9a9c10196f9b24"
---

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

Discussion

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

1\. Functions as Values in JavaScript In JavaScript, functions are treated like any other value. This means they can be stored in variables, passed into other functions, and returned from functions. Be

May 7 · 5 min read · blog.shyamhz.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaiaurcode](https://hashnode.com/tag/chaiaurcode)
-   [#chai-aur-javascript](https://hashnode.com/tag/chai-aur-javascript)
-   [#javascript-callback-functions](https://hashnode.com/tag/javascript-callback-functions)

## Written by

[shyamendrahazracodes](https://hashnode.com/@shyamhzdotdev)

@shyamhzdotdev

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

Just a stubborn coder

I write code , that run in the browser and someone else's machine. And sometimes I also write articles

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
