The SQRT2
property returns the square root of 2, approximately 1.414.
SQRT2 |
Yes | Yes | Yes | Yes | Yes |
Math.SQRT2
A Number representing the square root of 2.
The following code shows how to find out the value of square root of 2.
console.log(Math.SQRT2);
The code above generates the following result.