We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9432ba7 commit 56d9d9fCopy full SHA for 56d9d9f
Material/Notes/Exercises/Exercise_2025-02-27_TypeScript.md
@@ -78,7 +78,8 @@ function getDriversWithPlates(people) {
78
new Date().getFullYear() -
79
birthYear -
80
(birthMonth < new Date().getMonth() + 1
81
- || (birthMonth == new Date().getMonth() + 1 && new Date().getDate() <= birthDay) ? 0 : 1);
+ || (birthMonth == new Date().getMonth() + 1
82
+ && new Date().getDate() <= birthDay) ? 0 : 1);
83
84
if (age >= 18) {
85
drivers.push({
0 commit comments