3 ms·
Not if you allow dangling commas (trailing commas as the sibling comment calls them, I think it's the more generic term)... Then you have a comma at the end in
by coldtea 9y ago
Not if you allow dangling commas (trailing commas as the sibling comment calls them, I think it's the more generic term)...
Then you have a comma at the end in ALL lines, including the last one, without an issue. That was what I proposed above (and lots of languages do it, I think JS is adding it too).