3 ms·
`g(f)` returns a function, which is then immediately called with another value. You're passing `3` to the result of `g`, not to the function you passed to `g`.
by Twisol 13y ago
`g(f)` returns a function, which is then immediately called with another value. You're passing `3` to the result of `g`, not to the function you passed to `g`.
- lelandbatey 13y agoAh, I see, that makes sense. Thanks for the explanation.