10 lines
134 B
Plaintext
10 lines
134 B
Plaintext
fibonacci = function <number> {
|
|
if number <= 1 {
|
|
1
|
|
} else {
|
|
(fibonacci number - 1) + (fibonacci number - 2)
|
|
}
|
|
}
|
|
|
|
(fibonacci 5)
|