Answers for "js show console"

20

how to print to console javascript

console.log("string")
Posted by: Guest on February-13-2020
0

get console javascript

//What you can do is hook the console.log function so that you store when it logs :
console.stdlog = console.log.bind(console);
console.logs = [];
console.log = function(){
    console.logs.push(Array.from(arguments));
    console.stdlog.apply(console, arguments);
}
Posted by: Guest on July-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language