JavaScript Math.SQRT2
Description
The Math.SQRT2
property returns the square root of 2.
The Math.SQRT2
property returns approximately 1.414.
Syntax
Math.SQRT2
Return Value
Type | Description |
Number | The square root of 2. |
Browser Support
Math.SQRT2
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.