---
title: "Discussion on \"First Class Function   VS  Higher Order Function\" | Hashnode"
description: "Discussion on \"First Class Function   VS  Higher Order Function\". First Class Functions :\nJavascript treats functions as simple values. Functions are just another \"type\" of an object. The function can also be passed as an argument and returned from a function.\nCode:\n//function as a variable\nconst greet = function()..."
url: "https://hashnode.com/posts/first-class-function-vs-higher-order-function/63b7c703b4e6a4ffc5e355ad"
---

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

Discussion

# [First Class Function VS Higher Order Function](https://abhijeetbasfore26.hashnode.dev/first-class-function-vs-higher-order-function?utm_source=hashnode&utm_medium=feed)

First Class Functions : Javascript treats functions as simple values. Functions are just another "type" of an object. The function can also be passed as an argument and returned from a function. Code: //function as a variable const greet = function()...

Jan 6, 2023 · 1 min read · abhijeetbasfore26.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#fullstack](https://hashnode.com/tag/fullstack)

## Written by

[Abhijeet Basfore](https://hashnode.com/@abhijeet26)

@abhijeet26 · Kolkatat, West Bengal, India

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

A Self taught Fullstack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
