console.log in javascript with var code example Example: how to log to the console javascript console.log('What you want to log here.');