different ways to console log in javascript code example Example: how to use js console log console.log('string');