Question
What is a higher-order function?
Select an option. Your answer will be checked instantly.
Correct Answer: D. A function that accepts or returns another function
Explanation:
Higher-order functions support reusable behavior and functional composition.
Examples include map, filter, and reduce.
Leave a Reply