UNPKG
unused
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.0
A module which reports unused variables in your code.
github.com/Kami/node-unused
Kami/node-unused
unused
/
test
/
fixtures
/
scoped.js
12 lines
(8 loc)
•
166 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// the foo at global scope remains unused
// when a new foo inside bar is declared
var
foo =
'bz'
;
function
bar
()
{
var
foo =
'dog'
; foo =
'cat'
; } bar();