DEV Community

kumar_lav
kumar_lav

Posted on

What is a first order function?

A first-order function is a function that doesn’t accept another function as an argument and doesn’t return a function as its return value.

const firstOrder = () => console.log("I am a first order function!");

Top comments (0)