Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>JavaScript Math</h1> <h2>The Math.SQRT1_2 Property</h2> <p>Math.SQRT1_2 returns the square root of 1/2:</p> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Math.SQRT1_2; </script> </body> </html>