JavaScript SQRT1_2 Property
THE WORLD'S LARGEST WEB DEVELOPER SITE

JavaScript SQRT1_2 Property

❮ JavaScript Math Object

Example

Return the square root of 1/2:

Math.SQRT1_2;
Try it Yourself »

Definition and Usage

The SQRT1_2 property returns the square root of 1/2, approximately 0.707.


Browser Support

Property
SQRT1_2 Yes Yes Yes Yes Yes

Syntax

Math.SQRT1_2

Technical Details

Return Value: A Number, representing the square root of 1/2
JavaScript Version: ECMAScript 1

❮ JavaScript Math Object