JavaScript Reference/Javascript Properties/POSITIVE INFINITY
Версия от 18:30, 25 мая 2010; (обсуждение)
"POSITIVE_INFINITY" Example
<html>
<body>
<button onclick="alert(Number.MAX_VALUE);">MAX_VALUE</button>
<button onclick="alert(Number.MIN_VALUE);">MIN_VALUE</button>
<button onclick="alert(Number.NEGATIVE_INFINITY);">NEGATIVE_INFINITY</button>
<button onclick="alert(Number.POSITIVE_INFINITY);">POSITIVE_INFINITY</button>
</body>
</html>
"POSITIVE_INFINITY" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Number |
+----------------+--------------------------------------------------------------+
"POSITIVE_INFINITY" Syntax and Note
Note:
Read-only property.
A constant that returns infinity.
Syntax:
Number.POSITIVE_INFINITY