3 ms·
What I want are leading commas. Much tidier and one small thing you wouldn't have to edit/think about when adding and removing list items.
by WalterSear 9y ago
What I want are leading commas. Much tidier and one small thing you wouldn't have to edit/think about when adding and removing list items.
- mstade 9y agoBetter yet: automatic comma insertion! (I'm only half joking.)
- thekaleb 9y agoUnless you need to add something to the beginning.
- WalterSear 9y agoI prefer comma first notation. 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.