mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-04 07:29:47 +08:00
Removed unnecessary else
This commit is contained in:
@ -53,7 +53,7 @@ class Month {
|
||||
|
||||
isLeapYear (year) {
|
||||
if (((year % 400) === 0) || (((year % 100) !== 0) && ((year % 4) === 0))) return true
|
||||
else return false
|
||||
return false
|
||||
}
|
||||
|
||||
isGreater (startDate, endDate) {
|
||||
|
Reference in New Issue
Block a user