JavaScript Reference/Javascript Properties/NEGATIVE INFINITY

Материал из Web эксперт
Перейти к: навигация, поиск

"NEGATIVE_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>



"NEGATIVE_INFINITY" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |Number                                                        |
+----------------+--------------------------------------------------------------+



"NEGATIVE_INFINITY" Syntax and Note

Note:
Read-only property. 
Negative infinity.
    
Syntax:
    
Number.NEGATIVE_INFINITY