js::alert(hello) code example Example: Javascript how to run hello world var msg = "hello world"; console.log(msg);