---
title: "Discussion on \"WTF is higher-order functions?\" | Hashnode"
description: "Discussion on \"WTF is higher-order functions?\". Hi there, I am Shivam, and here's my explanation of higher-order functions in Javascript.\nDefinition\nIn Javascript, a higher-order function is a function that takes another function as an argument and returns a function as a result. For example, look..."
url: "https://hashnode.com/posts/wtf-is-higher-order-functions/642fbab89cf299af4efa3855"
---

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

Discussion

# [WTF is higher-order functions?](https://shivamr.hashnode.dev/wtf-is-higher-order-functions?utm_source=hashnode&utm_medium=feed)

Hi there, I am Shivam, and here's my explanation of higher-order functions in Javascript. Definition In Javascript, a higher-order function is a function that takes another function as an argument and returns a function as a result. For example, look...

Apr 7, 2023 · 2 min read · shivamr.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#learning](https://hashnode.com/tag/learning)

## Written by

[shivam](https://hashnode.com/@shivamhwp)

@shivamhwp · India

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

dev etc etc.

## Responses 1

Markdown supported · ⌘↵ to post

[Shivank Mitra](https://hashnode.com/@ventuscoder)

[Jul 21, 2023](https://hashnode.com/posts/wtf-is-higher-order-functions/642fbab89cf299af4efa3855/comment/64ba70e055df3bebc626af1a)

Great article about higher-order functions! Was not aware of them previously.
