Design Patterns · Middle · Question 43 of 75

What is a higher-order function in terms of patterns?

Explanation

map, filter, debounce, memoize and HOCs are all higher-order functions. In JS, many classic patterns are expressed this way, without classes or hierarchies.

Further reading

Problem with a question

Design Patterns · Middle · question 43

Test yourself

Take the Design Patterns · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz