function isleap(y){return y%100?(y%4?false:true):(y%400?false:true);} 转载于:https://www.cnblogs.com/binking338/p/4070551.html