判断闰年

1.能被4整除而不能被100整除。
 
2.能被100整除也能被400整除。
var leapyear;
if (leapyear%4==0)
 
 
posted @ 2019-06-01 23:48  lingen163  阅读(185)  评论(0编辑  收藏  举报