1 | export const bar = (baz) => { |
||
2 | return baz ? 1 : (baz ? 3 : 4); |
||
3 | |||
4 | console.log(100) // unreachable |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
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. ![]() 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. ![]() |
|||
9 | console.log(1); |
||
0 ignored issues
–
show
|
|||
10 | } |
||
11 |