what are teh ways to log javascript to the console code example
Example 1: javascript log to console
const varName = 'this variable';
console.log(varName);
Example 2: javascript log to console
console.log('message1' + ' - ' + 'message2')
const varName = 'this variable';
console.log(varName);
console.log('message1' + ' - ' + 'message2')