how to get console log javascript code example
Example 1: how to print to console javascript
console.log("string")
Example 2: console.log javascript
console.log(10);
console.log('You can also log numbers')
Example 3: javascript log to console
const varName = 'this variable';
console.log(varName);
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)