mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
10 lines
226 B
Plaintext
10 lines
226 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."
|