UNPKG
devalue
Version:
latest (5.1.1)
5.1.1
5.1.0
5.0.0
4.3.3
4.3.2
4.3.1
4.3.0
4.2.3
4.2.2
4.2.1
4.2.0
4.1.0
4.0.1
4.0.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.1
2.0.1
2.0.0
1.1.1
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Gets the job done when JSON.stringify can't
github.com/Rich-Harris/devalue
Rich-Harris/devalue
devalue
/
src
/
constants.js
7 lines
(6 loc)
•
183 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
const
UNDEFINED =
-1
;
export
const
HOLE =
-2
;
export
const
NAN =
-3
;
export
const
POSITIVE_INFINITY =
-4
;
export
const
NEGATIVE_INFINITY =
-5
;
export
const
NEGATIVE_ZERO =
-6
;