consoleLog js element code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: console log javascript
console.log("hello", value);
const varName = 'this variable';
console.log(varName);
console.log("hello", value);