JavaScript

Higher-Order Function

Definition

A function that either takes one or more functions as arguments, returns a function, or both. Common examples include `map`, `filter`, `reduce`, and `forEach`.

Code Example

Javascript
Tip: Modify the code above and click “Run” to see the results

Learn More

Related Terms