- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Math.SQRT2 Property in JavaScript
The SQRT2 property of the Math object represents the square root of 2.
Syntax
Its Syntax is as follows
Math.SQRT2
Example
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var result = Math.SQRT2; document.write(result); </script> </body> </html>
Output
1.4142135623730951
- Related Articles
- ArrayBuffer.byteLength Property in JavaScript
- DataView.byteLength property in JavaScript
- DataView.byteOffset property in JavaScript
- DataView.buffer property in JavaScript
- Map.size property in JavaScript
- Math.LN2 Property in JavaScript
- Math.LOG10E Property in JavaScript
- Math.LOG2E Property in JavaScript
- Math.PI Property in JavaScript
- Math.SQRT1_2 Property in JavaScript
- Number.EPSILON Property in JavaScript
- Number.MAX_SAFE_INTEGER Property in JavaScript
- Number.MAX_VALUE Property in JavaScript
- Number.MIN_SAFE_INTEGER Property in JavaScript
- Number.MIN_VALUE Property in JavaScript

Advertisements