JavaScript SQRT2 property
- Previous Page SQRT1_2
- Next Page tan()
- Go Up One Level JavaScript Math Reference Manual
Definition and usage
SQRT2
The property returns the square root of 2, approximately 1.414.
Syntax
Math.SQRT2
Technical details
Return value: | A number representing the square root of 2. |
---|---|
JavaScript version: | ECMAScript 1 |
Browser Support
Math.SQRT2
Is an ES1 feature (JavaScript 1999). All browsers fully support it:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Support | Support | Support | Support | Support | Support |
Related Pages
Tutorial:JavaScript Math
- Previous Page SQRT1_2
- Next Page tan()
- Go Up One Level JavaScript Math Reference Manual