how to console log a function code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: how to use console.log javascript
console.log("Hello world!");
const varName = 'this variable';
console.log(varName);
console.log("Hello world!");