Write a javascript code to print Hello World code example
Example: 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