JS prohibits console output

Say something 2 years ago Lao Li next door Last edited on 2022-09-15 11:40:58

How to disable the console from outputting logs?

Add in JS code

 console.log = function () {} console.error = function () {}


This article is written by@ Lao Li next door Published on September 15, 2022 on Yeluzi Blog , unless otherwise specified, all articles in this blog are original, please retain the source for reprinting.
comment (0)
 visitor
Top