function leapYear(year) { return ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0); }
2.1m questions
2.1m answers
60 comments
57.0k users