This website requires JavaScript.
Explore
Help
Sign In
hmn
/
orca
Watch
5
Fork
You've already forked orca
2
Code
Issues
21
Pull Requests
1
Packages
Projects
Releases
Wiki
Activity
907f33bc27
orca
/
ext
/
wasm3
/
test
/
lang
/
fib.walt
7 lines
110 B
Plaintext
Raw
Blame
History
export function fib(n: i32): i32 {
if (n < 2) {
return n;
}
return fib(n-1) + fib(n-2);
}
Reference in New Issue
View Git Blame
Copy Permalink