UNPKG

@moomfe/zenjs

Version:

ZenJS 是一个高性能的 JavaScript 工具库。

10 lines (7 loc) 202 B
var index = (function (o, c) { var proto = c.prototype; proto.isLeapYear = function () { return this.$y % 4 === 0 && this.$y % 100 !== 0 || this.$y % 400 === 0; }; }); export default index;