console.log function javascript code example
Example 1: javascript log to console
console.log('message1' + ' - ' + 'message2')
Example 2: how to use js console log
console.log('string');
console.log('message1' + ' - ' + 'message2')
console.log('string');