Skip to content

Commit 330a427

Browse files
Matheus MurielMatheus Muriel
authored andcommitted
Fix style
1 parent 61e8c74 commit 330a427

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
@@ -23,7 +23,7 @@ export function countingSundays () {
2323

2424
for (let y = 1901; y <= 2000; y++) {
2525
// Calculate the number of Days in February this year
26-
months[1] = 28 + ((y % 4 == 0 && y % 100 != 0) || y % 400 == 0)
26+
months[1] = 28 + ((y % 4 === 0 && y % 100 !== 0) || y % 400 === 0)
2727

2828
for (const month of months) {
2929
dow = dow + (month % 7)

0 commit comments

Comments
 (0)