JavaScript Math.SQRT1_2
Description
The Math.SQRT1_2
property returns the square root of 1/2.
The Math.SQRT1_2
property returns approximately 0.707.
Syntax
Math.SQRT1_2
Return Value
Type | Description |
Number | The square root of 1/2. |
Browser Support
Math.SQRT1_2
is an ECMAScript1 (JavaScript 1997) feature.
It is supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | Yes |