npm.io
1.0.3 • Published 8 months ago

integer-value-positive-zero

Licence
MIT
Version
1.0.3
Deps
3
Size
2 kB
Vulns
0
Weekly
0
Stars
1

integer-value-positive-zero

This library takes advantage that Number.prototype.valueOf() is 0 to return it to the user

const zr0 = require('integer-value-positive-zero')
console.log(zr0()) // 0

Keywords