Skip to content

Commit 194e485

Browse files
committed
feats: fixed iteration
1 parent a43eac4 commit 194e485

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ export function computeFactorial(n: number): number {
8484

8585
return product;
8686
}
87+
const n = 2;
8788

89+
console.log(computeFactorial(n));
8890
/**
8991
* Adds all of the provided values and returns the sum.
9092
*

0 commit comments

Comments
 (0)