/ Published in: JavaScript
Based on algorithm from http://www.dataip.co.uk/Reference/LeapYear.php.
Expand |
Embed | Plain Text
function is_leap_year(year) { return year%4==""&&year%100!="" ? true : false; }
You need to login to post a comment.
