Answers for "how to write hello world in js"

5

javascript hello world

I would do something like this:

<script>
  alert("Hello World!");
</script>
Posted by: Guest on November-19-2020
3

print hello world in javascript

console.log("Hello, World!");

console.error("Error, World!"); // For errors

console.warn("Warning, World!"); // For warnings

console.clear(); // To clear the console
Posted by: Guest on September-30-2020

Code answers related to "how to write hello world in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language