javascript does support print statement code example
Example 1: how to print to screen in javascript
console.log("Hello World!");
alert("Console has been updated.");
Example 2: javascript print
console.log("Who's Joe?")
console.log("Hello World!");
alert("Console has been updated.");
console.log("Who's Joe?")