CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.9 (changelog, source)
Search

Member predicate ArrayExpr::hasTrailingComma

Holds if this array literal includes a trailing comma after the last element.

predicate hasTrailingComma()