how to write hello world in javascript code example
Example 1: hello world javascript
// Output Hello World! in the console.
console.log("Hello World!");
Example 2: javascript hello world
console.log("Hello World!");
Example 3: javascript hello world
alert("Hello world");