Use the function to display the product of 5 * 5. - Javascript Function

Javascript examples for Function:Quiz

Description

Use the function to display the product of 5 * 5.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

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

<script>
function myFunction() {//ww  w  .  j ava  2s  . c om
    return 5 * 5;
}
document.getElementById("demo").innerHTML = myFunction();
</script>

</body>
</html>

Related Tutorials