CodeQL library for JavaScript
Search

Member predicate ArrayExpr::hasTrailingComma

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

predicate hasTrailingComma()