DEV Community

Cover image for #9) Explain HOF in JavaScript❔

#9) Explain HOF in JavaScript❔

Mayank Yadav
A Frontend Developer & Designer
・1 min read

🔰HOF: Higher Order Function

✅HOF is a function that that operates on other function, either by accepting functions as arguments and/or returning a function.


For example,, Array.prototype.filter and Array.prototype.reduce are some of the Higher-Order functions built into the language.

Discussion (0)