DEV Community

Discussion on: JS interview in 2 minutes / Higher Order Functions

Collapse
 
kettanaito profile image
Artem Zakharchenko

Yeap, that's completely true. The original short definition:

These are functions that return other functions.

Should be changed to something like:

These are functions that accept a function as an argument or return other functions