javascript console log prints "[]" code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: console.log
console.log("");
const varName = 'this variable';
console.log(varName);
console.log("");