nn(2017)
function nn (nian){
if(nian%4 == 0 && nian%100 !== 0 || nian%400 ==0 ) {
alert("闰年")
}
else{
alert("不是闰年")
}
return nian;
}
05-11 11:32