window.print() variable and text in js code example Example: javascript print console.log("Who's Joe?")