2 lines
126 B
JavaScript
2 lines
126 B
JavaScript
// not very clever, but still a valid solution
|
|
function isLeapYear(a){return a%4!=0?false:a%400==0?true:a%100!=0?true:false;}
|