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. i.e, It's a regular function that works with primitive or non-function values.

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

Comments

Popular posts from this blog

What is Class in js