We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd29d2f commit de354a0Copy full SHA for de354a0
lesson_07/conditionals/src/lesson7.ts
@@ -37,7 +37,7 @@ export function computeFactorial(n: number): number {
37
* @return An array containing the first `n` Fibonacci values.
38
*/
39
export function getFirstNFibonacciNumbers(n: number): number[] {
40
- /* fibionacci formula - f(n) = f(n-1) + f(n-2)... */
+ // edge cases
41
if (n === 0) {
42
return [];
43
}
0 commit comments