+ 1
Hey, does anyone know how to disable the console when I click on this div.
2 ответов
+ 12
just redefine it in your Javascript before console statements, done.
console.log = (function() {}); //anonymous function for es6 & higher.
OR
console.log = function() {}; // for es5 lower;
+ 5
Can't disable in here
Just remove console.log manually or even another way :(