what reason the console.log in js 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
console.log('What you want to log here.');
console.log("Hello, world.");
// Hello, world.
let num = 5;
console.log(num);
// 5