Javascript how to run hello world code example
Example 1: Javascript how to run hello world
var msg = "hello world";
console.log(msg);
Example 2: hello world javascript
// Output Hello World! in the console.
console.log("Hello World!");
var msg = "hello world";
console.log(msg);
// Output Hello World! in the console.
console.log("Hello World!");