Files
2018-08-02 17:53:23 +01:00

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."