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 0b66f67

Browse files
Removed unnecessary else
1 parent 8abf0c5 commit 0b66f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Dynamic-Programming/FindMonthCalendar.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Month {
5353

5454
isLeapYear (year) {
5555
if (((year % 400) === 0) || (((year % 100) !== 0) && ((year % 4) === 0))) return true
56-
elsereturn false
56+
return false
5757
}
5858

5959
isGreater (startDate, endDate) {

0 commit comments

Comments
(0)

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