---
title: "Discussion on \"Callbacks in JavaScript: Why They Exist\" | Hashnode"
description: "Discussion on \"Callbacks in JavaScript: Why They Exist\". ❓What is Function as Values\nIn JavaScript, functions are first-class citizens → meaning:\n\nYou can store them in variables\n\nfunction add(){\n    console.log(\"adding\")\n}\n\nlet a = add; // Storing function"
url: "https://hashnode.com/posts/callbacks-in-javascript-why-they-exist/69e8702ee436727814ec9f73"
---

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

Discussion

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

❓What is Function as Values In JavaScript, functions are first-class citizens → meaning: You can store them in variables function add(){ console.log("adding") } let a = add; // Storing function

Apr 22 · 4 min read · js-learning-callbacks.hashnode.dev  
Read the article

## Written by

[Pratik Vidhale](https://hashnode.com/@PratikVidhale22)

@PratikVidhale22

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
