JavaScript Reference/Javascript Properties/MAX VALUE — различия между версиями

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

Текущая версия на 11:21, 26 мая 2010

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


"MAX_VALUE" is applied to

   <source lang="javascript">

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

     </source>
   
  


"MAX_VALUE" Syntax and Note

   <source lang="javascript">

Note: Read-only property. The largest number the system that is less than infinity.

Syntax:

Number.MAX_VALUE


     </source>