Y
Hacker News
new
|
ask
|
show
|
jobs
by
Twisol
4784 days 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`.
1 comments
lelandbatey
4784 days ago
Ah, I see, that makes sense. Thanks for the explanation.
link