Infinity Constant (JavaScript)

Returns an initial value of Number.POSITIVE_INFINITY.


The Infinity constant is a member of the Global object, and is made available when the scripting engine is initialized.

The Infinity property was introduced in Internet Explorer before Internet Explorer 6 and was made read-only in Internet Explorer 9 standards mode.

Applies To: Global Object (JavaScript)

© 2014 Microsoft