Javascript examples for Function:Quiz
Use the function to display the product of 5 * 5.
<!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>