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