Issues (8)

src/foo.js (2 issues)

1
while (true) {
2
  alert(101);
0 ignored issues
show
Debugging Code Best Practice introduced by
The alert UI element is often considered obtrusive and is generally only used as a temporary measure. Consider replacing it with another UI element.
Loading history...
3
}
4
5
// unreachable
6
if (window.bla) {
7
  console.log(window.bla ? 123 : 456);
0 ignored issues
show
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
8
}
9
10