The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Infinity Constant (JavaScript)

A number that is larger than the largest floating point number. Returns an initial value of Number.POSITIVE_INFINITY. Negative Infinity (-Infinity) is smaller than the smallest floating point number.


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)

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft