print output jscript code example
Example 1: how to code print in javascript
console.log("print")
//or
alert("Print")
Example 2: javascript print
document.write("Hello world");
console.log("print")
//or
alert("Print")
document.write("Hello world");