Removed unnecessary else

This commit is contained in:
Rak Laptudirm
2021-02-06 16:17:14 +05:30
parent 8abf0c540f
commit 0b66f6732f

View File

@ -53,7 +53,7 @@ class Month {
isLeapYear (year) { isLeapYear (year) {
if (((year % 400) === 0) || (((year % 100) !== 0) && ((year % 4) === 0))) return true if (((year % 400) === 0) || (((year % 100) !== 0) && ((year % 4) === 0))) return true
else return false return false
} }
isGreater (startDate, endDate) { isGreater (startDate, endDate) {