mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
13 lines
241 B
Plaintext
13 lines
241 B
Plaintext
import javascript
|
|
|
|
class CommaToken extends PunctuatorToken {
|
|
CommaToken() {
|
|
getValue() = ","
|
|
}
|
|
}
|
|
|
|
from CommaToken comma
|
|
where comma.getNextToken() instanceof CommaToken
|
|
select comma, "Omitted array elements are bad style."
|
|
|