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

Member predicate ObjectExpr::hasTrailingComma

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

predicate hasTrailingComma()