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 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | Yes |