Display the square root of "9". - Javascript Math

Javascript examples for Math:Quiz

Description

Display the square root of "9".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = Math.sqrt(9);
</script>// ww w  . java  2  s  .c om

</body>
</html>

Related Tutorials