4 lines
63 B
CoffeeScript
4 lines
63 B
CoffeeScript
|
|
fn = -> return 8
|
||
|
|
sum = (a, b) -> a() + b()
|
||
|
|
sum(fn, fn) # => 16
|