Mobile version of this pageZope Image to filesystem image
Next:
Learning about ATFolder's security
Related blogs
Jaguar cars websiteIntel.com incompatible to Mozilla
Do you know about Firefox?
Button tag in bloody Internet Explorer
IssueTrackerProduct feature list
Strange language bug in Windows XP
apple.com/store doesn't work in Firefox (on Linux)
YSlow grade A (96) but not with doubts
Related by category
Associative arrays
javascript syntax, syntax errors, internet explorer, firebug, commas, associative, arrays
20th of March 2007
For hard cord Javascript developers this comes as no surprise but if you, like me, do all your work in Firefox (of course with Firebug installed) then you need to keep a close eye on the correctness of your Javascript syntax because Internet Explorer will have some difference ways of thinking about it. Here's what I learnt the other day. This works perfectly in Firefox:
var person = { age:27, name:"Peter", };
But if you run that in IE you get "Expected identifier, string or number".
I know that SQL raises syntax errors on trailing commas but Python sure doesn't and I like that.
What a pointless rant this was. More like a note to self that might hopefully help someone else some day.







Save this page in del.icio.us
Thank you for bringing this up.
I did pull some hairs before finding your post.