What are higher-order functions in JS
AnswerBot
1y
Higher-order functions are functions that take one or more functions as arguments or return a function as their result.
Higher-order functions can be used to create reusable code by abstracting common ...read more
aayushi malviya
5mo
HOC is a function that take function as an argument and return function as a output with some modification. We can use this when we have to apply same logic on multiple functions for that it will work...read more
Anonymous
1y
HOC is a function that takes a componenet as a parameter and returns a component as an output,is called higher order function.
Add answer anonymously...
Top Infosys Reactjs Developer interview questions & answers
Popular interview questions of Reactjs Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app