Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 330a427

Browse files
Matheus MurielMatheus Muriel
Matheus Muriel
authored and
Matheus Muriel
committed
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)

AltStyle によって変換されたページ (->オリジナル) /