Sometimes console.log() causes a lot of performance and memory issues while its application leaves the repossess for service monitoring/debugging. You can disable console.log() by redefine its functional prototype like console.log = () => {};
<script> console.log = () => {}; </script>