This website works better with JavaScript.
Explore
Help
Sign In
alpha
/
crafting-interpreters
Watch
1
Star
0
Fork
You've already forked crafting-interpreters
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fe7e902211
main
andres
private
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'fe7e902211'
${ noResults }
crafting-interpreters
/
lox
/
fib.lox
10 lines
102 B
Raw
Blame
History
fun fib(n) {
if (n == 2) {
return 2;
} else {
return n * fib(n - 1);
}
}
print fib(5);
Reference in new issue
View Git Blame
Copy Permalink