From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript Math Object
The SQRT2 property returns the square root of 2, approximately 1.414.
| Math.SQRT2 |
ExampleReturn the square root of 2:
The output of the code above will be:
Try it yourself » |
JavaScript Math Object
From http://www.w3schools.com (Copyright Refsnes Data)