log console javascript code example
Example 1: how to log to the console javascript
console.log('What you want to log here.');
Example 2: javascript log to console
console.log('message1' + ' - ' + 'message2')
Example 3: javascript console.log
console.log('I want to log this so I am logging this. Calm down and log.')
Example 4: js log to console
console.log('this string will show on console')
const strVar1 = 'fizz';
const strVar2 = 'buzz';
console.log('strVar1 is: ' + strVar1 + ' and strVar2 is: ' + strVar2)
console.log(420)