Skip to content

Commit 98a6fa4

Browse files
authored
Remove unnecessary, confusingly placed comments
1 parent 03d7267 commit 98a6fa4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Project-Euler/Problem019.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ function problem19() {
2323
let dayOfWeek = 2 // 1st Jan 1900 was a Monday, so 1st Jan 1901 was a Tuesday
2424

2525
for (let year = 1901; year <= 2000; year++) {
26-
// From 1901 to 2000
2726
for (let month = 1; month <= 12; month++) {
28-
// From January to December
2927
if (dayOfWeek === 0) {
3028
// If it's a Sunday (0 is Sunday, 1 is Monday, ..., 6 is Saturday)
3129
sundaysCount++

0 commit comments

Comments
 (0)