Skip to content

Commit ff7deee

Browse files
Matheus MurielMatheus Muriel
authored andcommitted
Fix ++
1 parent 330a427 commit ff7deee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Project-Euler/Problem019.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function countingSundays () {
2929
dow = dow + (month % 7)
3030

3131
if (dow % 7 === 0) {
32-
numberOfSundays += 1
32+
numberOfSundays++
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)