function of console.log in 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
const varName = 'this variable';
console.log(varName);
Example 3: how to log something in the console. javascript
console.log('https://discord.gg/5yjWgMS');
Example 4: console.log
console.log("dale")
Example 5: 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)
Example 6: console.log
var players = ['Jim', 'Shawna', 'Andrew', 'Lora', 'Aimee', 'Nick'];
console.log(players);