solution hello world
This commit is contained in:
parent
5481761795
commit
d690fbe453
|
@ -1,5 +1,5 @@
|
|||
const leapYears = function() {
|
||||
|
||||
const leapYears = function(year) {
|
||||
return year % 4 === 0 && (year % 100 !==0 || year % 400 ===0)
|
||||
}
|
||||
|
||||
module.exports = leapYears
|
||||
|
|
Loading…
Reference in New Issue