DEV Community

Discussion on: Remove all console.log() in one go!

Collapse
 
pulkitkoolkanya profile image
PulkitKoolKanya

Hi Aditya, This is a fantastic article but there may be one problem with the regex approach. I copied from my code snippet, in this case, it will cause a problem.
Promise().then(console.log)

Collapse
 
adityatyagi profile image
Aditya Tyagi

Hi Pulkit,
Thank you for the heads up!
This definitely is a use-case where the regex might fail. At least my current regex. I can surely update my regex to be a bit more specific with the parenthesis.

Will update the article soon!

Thanks! :)

Collapse
 
manuels78556398 profile image
Manuel Silveira • Edited

Hi friend i need some help i got hacked crazy ppl after me from 9 years!
they did in lot of my mining sites to steal my bitcois and else!!! i need some help cleaning console!!!!!