This website works better with JavaScript
Home
Explore
Help
Sign In
c
/
lua-aot-5.4
mirror of
https://github.com/hugomg/lua-aot-5.4.git
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Branch:
v5.4.6
Branches
Tags
functions
master
v5.4.6
sblp2021
lua-aot-5.4
/
experiments
/
fib.lua
fib.lua
128 B
Permalink
History
Raw
1
2
3
4
5
6
7
8
9
local function fib(n)
if (n <= 1) then
return 1
else
return fib(n-1) + fib(n-2)
end
end
return fib