Skip to content

Commit fc21ad3

Browse files
committed
chore: added functions for lesson7 and part_d
1 parent 689c7ef commit fc21ad3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lesson_07/conditionals/src/lesson7.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function compareStrings(a: string, b: string): number {
1515
} else {
1616
return 0;
1717
}
18-
18+
1919
}
2020

2121
/**

lesson_07/conditionals/src/part_d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
function isWithinRange(num: number, min: number, max: number): boolean {
1010
return num >= min && num <= max;
11-
}
11+
}
1212

1313
console.log(isWithinRange(7, 5, 10));
1414
console.log(isWithinRange(2, 5, 10));

0 commit comments

Comments
 (0)