Core JavaScript 1.5 Reference:Global Properties:Infinity
From MDC
Contents |
[edit] Summary
A numeric value representing infinity.
| Core Global Property | |
| Implemented in: | JavaScript 1.3 |
| ECMA Version: | ECMA-262 |
[edit] Syntax
Infinity
[edit] Description
Infinity is a property of the global object, i.e. it is a variable in global scope.
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.