摘要: //闰年能被4整除且不能被100整除,或能被400整除。function year(){ if(year%4==0&&year%100!=0||year%400==0){ console.log(“闰年”); }else{ console.log(“平年”); } } 阅读全文
posted @ 2018-10-11 21:01 陈锦华 阅读(14183) 评论(0) 推荐(0) 编辑