mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
257 B
Plaintext
14 lines
257 B
Plaintext
/**
|
|
* @id js/examples/vardecl
|
|
* @name Declaration of variable
|
|
* @description Finds places where we declare a variable called `v`
|
|
* @tags variable
|
|
* declaration
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from VarDecl d
|
|
where d.getVariable().getName() = "v"
|
|
select d
|