Monday, 23 September 2013

IE8- does not understand JS trailing commas

Unpleasant surprise: IE8- doesn't support trailing commas in array literals, even though this is part of the ECMAScript 3 standard. (10 years older than IE8.)

Trailing commas in object literals are not supported either, but those are only defined in ECMA5.