JavaScript Reference/Javascript Properties/SQRT2

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

"SQRT2" Example

    
<html>
<body>
<button onclick="alert(Math.SQRT2);">Math.Sqrt2</button>
</body>
</html>



"SQRT2" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |Math                                                          |
+----------------+--------------------------------------------------------------+



"SQRT2" Syntax and Note

Note:
Read-only property. 
The square root of 2.
    
Syntax:
    
Math.SQRT2