JavaScript SQRT2 Property
Definition and Usage
The SQRT2 property returns the square root of 2, approximately 1.414.
Browser Support
Property | |||||
---|---|---|---|---|---|
SQRT2 | Yes | Yes | Yes | Yes | Yes |
Syntax
Math.SQRT2
Technical Details
Return Value: | A Number, representing the square root of 2 |
---|---|
JavaScript Version: | ECMAScript 1 |
❮ JavaScript Math Object