npm.io
2.2.1 • Published 6 years ago

infinity-x

Licence
MIT
Version
2.2.1
Deps
0
Size
27 kB
Vulns
0
Weekly
0

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

infinity-x

The constant value Infinity.

module.exports : number

The constant value Infinity derived mathematically by 1 / 0.

Kind: Exported member
Example

import INFINITY from 'infinity-x';

console.log(INFINITY === Infinity); // true
console.log(-INFINITY === -Infinity); // true
console.log(INFINITY === -Infinity); // false

Keywords