html print output of javascript code example Example: how to print to console javascript console.log("string")