JS Coding Questions Logo
JS Coding Questions
#12💼 Interview💻 Code

What is a first order function

Advertisement

728x90

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.

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

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 13

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
12of476