print data on console in javascript code example Example: how to use js console log console.log('string');