Answers for "how to print from js to html"

9

how to code print in javascript

console.log("print")
//or
alert("Print")
Posted by: Guest on April-07-2020
1

how to print in javascript

console.log("Text");
var randomText = "randomText";

console.log(randomText);
console.err("Error: U Looked at this comment");
//Logs an error.
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language