✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
The "Higher-Order Functions" chapter introduces a compose function. What is its purpose and what programming style does it enable?
const compose = (f, g) => (x) => f(g(x));