1 2
// 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;}