Y
Hacker News
new
|
ask
|
show
|
jobs
by
nikz
5635 days ago
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", };