3 ms·
Trailing commas is defined in ECMAScript 5. The issue is that IE8 and earlier choke on them.
by bentlegen 14y ago
Trailing commas is defined in ECMAScript 5. The issue is that IE8 and earlier choke on them.
- ralesk 14y agoIsn't ES5 only supported since IE9? Not to mention, IE8 was released half a year before ES5 (according to a quick check on Wikipedia). So yes, pre-ES5 I'd say it's a normal thing to do not to allow trailing commas.
- bentlegen 14y agoI think if you re-read my comment, you'll find I'm saying the same thing.