Standard built-ins
Infinity
The global positive infinity Number. Negative infinity is obtained by negation or Number.NEGATIVE_INFINITY. Division of a nonzero finite Number by a signed zero can produce infinity. Infinity is not finite.
Formal Syntax & Structure
javascript syntaxjavascript
InfinityReturn Value
number
Positive infinity.
Working Example
Example Snippetjavascript
console.log(1/0,Number.isFinite(Infinity));