Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

© 2015 Microsoft