Math.SQRT1_2 property
The Math.SQRT1_2 property
contains the square root of
1/2.
Syntax
javascriptMath.SQRT1_2;
Example
Let's output the square
root of 1/2:
javascriptconsole.log(Math.SQRT1_2);
The code execution result:
javascript0.7071067811865476
See also
-
the
Math.SQRT2property
that contains the square root of two