How To Disable Debugger; Command In JS?
window.alert = function(msg){console.log('foo' + msg);}; alert('bar'); foobar screenshot of chrome console: My problem is if I try disable debugger; command with this, do not w
Solution 1:
debugger
is not a member of window
, it's only a sign for the browser to know to stop there on debug mode.
Post a Comment for "How To Disable Debugger; Command In JS?"