Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

7 lines
181 B
JavaScript

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