mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
8 lines
224 B
Plaintext
8 lines
224 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."
|