Javascript examples for Math:Quiz
Assign integer value to variable
<!DOCTYPE html> <html> <body> <p id="demo"></p> <script> var x = 5;/*from w w w . j a v a2 s. c om*/ var y = 6; var z = x + y; document.getElementById("demo").innerHTML = z; </script> </body> </html>