JavaScript Math.SQRT2
JavaScript Math.SQRT2
The Math.SQRT2 property is used to return the square root of 2. Its approximate value is 1.414.
Syntax:-
Its syntax is:- Math.SQRT2
Return:-
Its return is:- a number which represents the square root of 2