hy/site/coffee/main.coffee
2013-03-10 14:20:09 -04:00

7 lines
87 B
CoffeeScript

foo = (x) ->
if x < 2
return x
foo(x - 1) + foo(x - 2)
alert(foo(10))