Inspectopedia
 
2024.3

Consecutive commas in array literal

Warning
Code Style
New
Last modified: 03 December 2024

Reports a consecutive comma in an array literal. The skipped element accepts the undefined value, but it could be done unintentionally, for example, when commas are at the end of one line and at the beginning of the next one.