Answers for "how to print html element using javascript"

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

Code answers related to "how to print html element using javascript"

Browse Popular Code Answers by Language