---
title: "Discussion on \"What is a first class function in JavaScript?\" | Hashnode"
description: "Discussion on \"What is a first class function in JavaScript?\". A function can be passed as an argument to other functions, can be returned by another function and can be assigned as a value to a variable."
url: "https://hashnode.com/posts/what-is-a-first-class-function-in-javascript/63a5f2354b9927d51472b516"
---

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

Discussion

# [What is a first class function in JavaScript?](https://rajamuhammadasher.com/what-is-a-first-class-function-in-javascript?utm_source=hashnode&utm_medium=feed)

A function can be passed as an argument to other functions, can be returned by another function and can be assigned as a value to a variable.

Sep 16, 2022 · 1 min read · rajamuhammadasher.com  
Updated Jan 2, 2023  
Read the article

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

## Written by

[Raja Muhammad Asher](https://hashnode.com/@rajamuhammadasher)

@rajamuhammadasher · USA

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

Full Stack Developer

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating &amp; making a difference

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
