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

Member predicate ArrayExpr::hasTrailingComma

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

predicate hasTrailingComma()