Issues (8)

src/bar.js (2 issues)

1
export const bar = (baz) => {
2
  return baz ? 1 : (baz ? 3 : 4);
3
4
  console.log(100) // unreachable
5
}
6
7
8
if (a == b) {
0 ignored issues
show
The variable a seems to be never declared. If this is a global, consider adding a /** global: a */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
The variable b seems to be never declared. If this is a global, consider adding a /** global: b */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
9
  console.log(1);
10
}
11