console.log print statement 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')
console.log('What you want to log here.');
console.log('message1' + ' - ' + 'message2')