Name
Math.SQRT2 — the mathematical constant √2
Availability
JavaScript 1.0; JScript 1.0; ECMAScript v1
Synopsis
Math.SQRT2
Description
Math.SQRT2
is the constant
, the square root of 2. This constant has a value of approximately 1.414213562373095.
Get JavaScript: The Definitive Guide, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.