console log data javascript code example Example: how to print to console javascript console.log("string")