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

Member predicate ObjectExpr::hasTrailingComma

Holds if this object literal includes a trailing comma after the last property.

predicate hasTrailingComma()