UNPKG
@moomfe/zenjs
Version:
bata (1.2.0)
latest (5.0.0-beta.5)
5.0.0-beta.5
5.0.0-beta.4
5.0.0-beta.3
5.0.0-beta.1
3.3.9
3.3.8
3.3.7
3.3.6
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.2
3.2.1
3.2.0
3.1.2
3.1.1
3.1.0
3.0.0
2.3.1
2.3.0
2.2.0
2.1.1
2.1.0
2.0.10
2.0.9
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.0
1.2.0-bata.0
1.1.1
1.1.0
ZenJS 是一个高性能的 JavaScript 工具库。
github.com/MoomFE/ZenJS
MoomFE/ZenJS
@moomfe/zenjs
/
src
/
shared
/
dependencies
/
dayjs
/
plugin
/
isLeapYear.js
10 lines
(7 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
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;