8000 Merge pull request #382 from RushilJalal/fix_Fibonacci_README · gitwinst/javascript-exercises@2ca0716 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ca0716

Browse files
Merge pull request TheOdinProject#382 from RushilJalal/fix_Fibonacci_README
10_fibonacci: Update README.md
2 parents 9599e2a + c77daf3 commit 2ca0716

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

10_fibonacci/README.md

Lines changed: 3 additions & 3 deletions
< 699C td data-grid-cell-id="diff-35f3b0077f15d2e57c11d6758b90d75d8397a8ad5d4e73cfa05d35efa2ef3a2f-4-4-1" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Create a function that returns a specific member of the Fibonacci sequence:
4

5-
> A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc.
5+
> A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 0, 1, 1, 2, 3, 5, 8, etc.
66
77
```javascript
8-
fibonacci(4) // returns the 4th member of the series: 3 (1, 1, 2, 3)
9-
fibonacci(6) // returns 8
8+
fibonacci(4); // returns the 4th member of the series: 3 (1, 1, 2, 3)
9+
fibonacci(6); // returns 8
1010
```

0 commit comments

Comments
 (0)
0