JavaScript Reference/Javascript Properties/POSITIVE INFINITY
"POSITIVE_INFINITY" Example
<source lang="javascript">
<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>
</source>
"POSITIVE_INFINITY" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Number | +----------------+--------------------------------------------------------------+
</source>
"POSITIVE_INFINITY" Syntax and Note
<source lang="javascript">
Note: Read-only property. A constant that returns infinity.
Syntax:
Number.POSITIVE_INFINITY
</source>