use of console.log in Javascript code example
Example 1: how to log to the console javascript
console.log('What you want to log here.');
Example 2: log javascript
console.log(variable)
Example 3: console.log
console.log("Hello, world.");
// Hello, world.
let num = 5;
console.log(num);
// 5
Example 4: console log javascript
console.log("hello", value);