Practice ยท 2 of 3
Compose
CHALLENGE
Difficulty: intermediate+25 XP
Implement compose(f, g) returning a new function h where h(x) == f(g(x)) โ g runs first, then f.
Press Submit to check your solution.
Back to lesson: Practice: Higher-Order Function Drills