SQRT2intermediate// Square root of 2
Math.SQRT2 // β 1.4142135623...
Math.SQRT2 === Math.sqrt(2) // β trueUse Math.SQRT2 as a precomputed constant equal to β2, useful in geometry and diagonal calculations.
By definition, (β2)Β² = 2. So Math.SQRT2 * Math.SQRT2 should be approximately 2.
Challenge: Verify that squaring Math.SQRT2 gives 2.