script console.log hello world code example
Example 1: hello world javascript
// Output Hello World! in the console.
console.log("Hello World!");
Example 2: how to use js console log
console.log('string');
// Output Hello World! in the console.
console.log("Hello World!");
console.log('string');