Skip to content

Commit 56d9d9f

Browse files
authored
Update Exercise_2025-02-27_TypeScript.md
1 parent 9432ba7 commit 56d9d9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Material/Notes/Exercises/Exercise_2025-02-27_TypeScript.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ function getDriversWithPlates(people) {
7878
new Date().getFullYear() -
7979
birthYear -
8080
(birthMonth < new Date().getMonth() + 1
81-
|| (birthMonth == new Date().getMonth() + 1 && new Date().getDate() <= birthDay) ? 0 : 1);
81+
|| (birthMonth == new Date().getMonth() + 1
82+
&& new Date().getDate() <= birthDay) ? 0 : 1);
8283

8384
if (age >= 18) {
8485
drivers.push({

0 commit comments

Comments
 (0)