Files
zyt/TongjiUniApp/node_modules/licia/isLeapYear.js
T
2026-10-22 11:12:16 +08:00

6 lines
126 B
JavaScript
Executable File

exports = function(year) {
return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);
};
module.exports = exports;