Skip to content

Commit 1824990

Browse files
committed
feat: fix/lesson_07-nilejack
1 parent 194e485 commit 1824990

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
@@ -78,7 +78,7 @@ export function convertGpaToLetterGrade(gpa: number): string {
7878
*/
7979
export function computeFactorial(n: number): number {
8080
let product = 1;
81-
for (let i = 1; 1 <= n; i++) {
81+
for (let i = 1; i <= n; i++) {
8282
product *= i;
8383
}
8484

0 commit comments

Comments
 (0)