mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
250 B
Plaintext
13 lines
250 B
Plaintext
/**
|
|
* @name Reference to variable
|
|
* @description Finds places where we reference a variable called `undefined`
|
|
* @tags variable
|
|
* reference
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from VarRef ref
|
|
where ref.getVariable().getName() = "undefined"
|
|
select ref
|