Infinity

A numeric value representing infinity.

Core property

Syntax

Infinity

Description

Infinity is a top-level property and is not associated with any object.

The initial value of Infinity is Number.POSITIVE_INFINITY. The value Infinity (positive infinity) is greater than any other number including itself. This value behaves mathematically like infinity; for example, anything multiplied by Infinity is Infinity, and anything divided by Infinity is 0.

See also

Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.