Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds places where we declare a variable called `v`

import javascript

from VarDecl d
where d.getVariable().getName() = "v"
select d