RosettaCodeData/Task/Higher-order-functions/CoffeeScript/higher-order-functions-6.coffee
2023-07-01 13:44:08 -04:00

4 lines
52 B
CoffeeScript

((x)->
2 + x(-> 5)
)((y) -> y()+3)
# result: 10