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 61e8c74 commit 330a427Copy full SHA for 330a427
Project-Euler/Problem019.js
@@ -23,7 +23,7 @@ export function countingSundays () {
23
24
for (let y = 1901; y <= 2000; y++) {
25
// Calculate the number of Days in February this year
26
- months[1] = 28 + ((y % 4 == 0 && y % 100 != 0) || y % 400 == 0)
+ months[1] = 28 + ((y % 4 === 0 && y % 100 !== 0) || y % 400 === 0)
27
28
for (const month of months) {
29
dow = dow + (month % 7)
0 commit comments