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