DEV Community

Discussion on: Higher Order Function in JS

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Higher-order functions are functions that execute other functions

This is not correct. A higher order function is a function that takes a function as an argument, or returns a function

Collapse
 
casiimir profile image
casiimir • Edited

True, thanks Jon and sorry for that, my bad mode of expressing. I'll fix it!