This is how you would display “Hello World” in Ruby.
Hello World in Javascript
This is how you would display “Hello World” to the browser in Javascript.
<!DOCTYPE HTML> <html> <body> <p>Header...</p> <script> alert('Hello, World!') </script> <p>...Footer</p> </body> </html>