fix deprecation
This commit is contained in:
8
examples/fib.tengo
Normal file
8
examples/fib.tengo
Normal file
@@ -0,0 +1,8 @@
|
||||
fib := func(x) {
|
||||
if x < 2 {
|
||||
return x
|
||||
}
|
||||
return fib(x-1) + fib(x-2)
|
||||
}
|
||||
|
||||
fib(35)
|
||||
Reference in New Issue
Block a user