Reordered jump cases

This commit is contained in:
2024-07-11 11:53:49 +02:00
parent e24d9ebb50
commit c2401bf826
2 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ main() {
}
fibonacci(x) {
if x == 1 || x == 0 {
if x <= 1 {
return x
}