hello worl js code example
Example 1: Javascript how to run hello world
var msg = "hello world";
console.log(msg);
Example 2: javascript hello world
I would do something like this:
<script>
alert("Hello World!");
</script>
var msg = "hello world";
console.log(msg);
I would do something like this:
<script>
alert("Hello World!");
</script>