What is a first order function?
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.
1 | const firstOrder = () => console.log ('I am a first order function!'); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.