javascript console write line 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')