console log inside return javascript code example Example: how to log to the console javascript console.log('What you want to log here.');