DEV Community

Cover image for #9) Explain HOF in JavaScript❔
Mayank Yadav
Mayank Yadav

Posted on

#9) Explain HOF in JavaScript❔

🔰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.

image

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


Top comments (0)