hy/site/coffee/main.coffee

7 lines
87 B
CoffeeScript
Raw Normal View History

2013-03-10 19:20:09 +01:00
foo = (x) ->
if x < 2
return x
foo(x - 1) + foo(x - 2)
alert(foo(10))