print a webpage in js code example Example 1: javascript print console.log("Who's Joe?") Example 2: javascript print document.write("Hello world");