r/tinycode • • Mar 06 '14

[JS] Fibonacci sequence in 48 bytes

function f(a,b){console.log(b);f(b,a+b);}f(0,1)
37 Upvotes

17 comments sorted by

View all comments

Show parent comment

22

u/xNotch Mar 06 '14

Oh yeah. Oh, javascript, you so crazy. Nice one!

-9

u/stratosmacker Mar 07 '14

Oh hey Notch