Javascript examples for Operator:Quiz
Display the product of 10 * 50, using two variables x and y.
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var x = 10;//from w w w .j av a2s .c o m var y = 50; document.getElementById("demo").innerHTML = x * y; </script> </body> </html>