Math.SQRT2 SQRT2 — Returns the square root of 2. Description Math.SQRT2 Return values number primitive. Examples Example #1 – SQRT2 example Runconsole.log(Math.SQRT2); // 1.4142135623730951 console.log(Number(Math.SQRT2).toFixed(20)); // 1.41421356237309514547 External references Mozilla: Math.SQRT2 property