Can someone tell me where I am wrong #day37
Asked by Manideep Paul about 2 years ago
2
const isLeap = (year) => { // code here if(year % 4 === 0 && year % 100 !== 0){ return true } else if(year % 4 === 0 && year % 100 === 0 && year % 400 === 0){ return true } return false }
1 Answer
0
There was a bug, same code worked today.
show more answers
Your answer