Javascript - Math SQRT1_2 Property

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

Description

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

Syntax

Math.SQRT1_2

Return

A Number, representing the square root of 1/2

Example

Return the square root of 1/2:

Demo

//display the square root of 1/2.
console.log(Math.SQRT1_2);

Result