References of a variable by name

Author: LGTM

import javascript

from VarRef ref
where ref.getVariable().getName() = 'var'
select ref

Description

Finds places where we reference a variable called `var`