Re:Regarding JavaScript trailing commas
by jorgt on Saturday April 09, 2016 @11:05AM
(#11461557)
I tend to remove them because trailing commas break JSON. The similarities between JS and JSON are small enough for me to get confused over it and I'd rather remove the cause of potential errors there altogether.
[ Parent
| on HN ]
There are no comments on this comment yet.