Skip to content

Commit 588e812

Browse files
author
jjcapparell
committed
edited list variable to a const
1 parent 51e3d5f commit 588e812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function addNumbers(values: number[]): number {
150150
* @return An array containing the first `n` Fibonacci values.
151151
*/
152152
export function getFirstNFibonacciNumbers(n: number): number[] {
153-
let list: number[] = [];
153+
const list: number[] = [];
154154
if (n>=1){
155155
list.push(0);
156156
}

0 commit comments

Comments
 (0)