Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of JavaScript Statements</title> </head> <body> <script> var x = 5; var y = 10; var sum = x + y; document.write(sum); // Prints variable value </script> </body> </html>