javascript console log
snippet in javascript

how to log to the console javascript

user3349

console.log('What you want to log here.');

console.log javascript

user3785

console.log(10);
console.log('You can also log numbers')

javascript log to console

user8999

console.log('message1' + ' - ' + 'message2')

javascript log to console

user3712

const varName = 'this variable';

console.log(varName);

javascript console log

user4566

console.log('string');

javascript console log

user2214

console.log('output')