I love the trailing commas for function calls. Wish we could get trailing commas for all of JSON too!
const hello = {
, 'one'
, 'two'
, 'three
}
would be easier to visually parse than: const hello = {
'one',
'two',
'three',
}
Since the commas actually work as a guide.I'm basing this on the assumption that the desire for trailing commas is making editing easier and reducing noise in diffs.
Just curious if there are niches where people are spending a lot of time manually editing JSON or if the use case is something else entirely.
I love them in code, despite initial resistance.