hardJavaScript

Function Composition

Implement a compose function that combines multiple functions from right to left.
Ensure function signatures match starter code to run test cases.
index.js
Loading...

Test Case #1

Input: (x=>x+1),(x=>x*2),2

Expected: 5