fix deprecation
Some checks failed
Build / build (push) Failing after 6m14s
Publish Image / publish (push) Failing after 36s
Test / build (push) Failing after 6m15s

This commit is contained in:
Chuck Smith
2024-03-29 11:04:21 -04:00
parent 12d43c9835
commit 7435a993d9
3 changed files with 12 additions and 4 deletions

8
examples/fib.tengo Normal file
View File

@@ -0,0 +1,8 @@
fib := func(x) {
if x < 2 {
return x
}
return fib(x-1) + fib(x-2)
}
fib(35)