CodeQL library for JavaScript
Search

Member predicate ObjectExpr::hasTrailingComma

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

predicate hasTrailingComma()