Sure thing:
count += 1;
if (count > 100) {
debugger;
}
Only if the developer tools are currently visible will that debugger statement trigger the debugger.
Sure thing:
count += 1;
if (count > 100) {
debugger;
}
Only if the developer tools are currently visible will that debugger statement trigger the debugger.