News for hackers. Stuff that matters.
Re:Ie7-js by wahnfrieden on Sunday January 09, 2011 @03:33PM (#2086331)
Another JS bug in older versions of IE (6 for sure, not sure about later ones) occurs when you end an array or hash with a comma after the last element, e.g. {foo: bar,}
Re:Ie7-js by nikz on Sunday January 09, 2011 @08:44PM (#2087093)
IIRC, this is actually invalid Javascript syntax that Chrome/Firefox/Safari choose to ignore.

JSLint picks it up:

  Error:
  Problem at line 1 character 22: Extra comma.

  var x = { foo : "bar", };