JavaScript Math.SQRT1_2

Example

let x = Math.SQRT1_2;
Try it Yourself »

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
NumberThe 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

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.