InterviewHubPRO
Section Overview
Q15

Question 15 of 521

Part 1: Core Objects, Prototypes, Functions & Scope (1 - 53)

3%
JavaScript Internals (521 Qs)•Part 1: Core Objects, Prototypes, Functions & Scope (1 - 53)

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.

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