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: console.log
console.log("Hello, world.");
// Hello, world.
let num = 5;
console.log(num);
// 5
Example 3: log javascript
console.log(variable)
Example 4: console log javascript
console.log("hello", value);