Issues (8)

src/foo.js (3 issues)

1
while (true) {
0 ignored issues
show
The condition true seems to be always true, making it impossible for the loop to be exited. Are you sure about that?
Loading history...
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