News for hackers. Stuff that matters.
Re:Regarding JavaScript trailing commas by yisheng on Friday April 08, 2016 @11:40PM (#11459781)
The only time you should avoid trailing commas is if your javascript needs to run on older browsers.

If you use babel, you can write your source with trailing commas, then let the build step remove them for older browsers.

There are no comments on this comment yet.