This blog post is 14 years old! Most likely, its content is outdated. Especially if it's technical.
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.
correct.html
incorrect.html
- Previous:
- Zope Image to filesystem image 16 March 2007
- Next:
- Learning about ATFolder's security 22 March 2007
- Related by category:
-
Fastest way to find out if a file exists in S3 (with boto3) 16 June 2017 Web development
- How to create-react-app with Docker 17 November 2017 Web development
- How to throttle AND debounce an autocomplete input in React 01 March 2018 Web development
- Be very careful with your add_header in Nginx! You might make your site insecure 11 February 2018
Web development
- Displaying fetch() errors and unwanted responses in React 06 February 2019 Web development
- Related by keyword:
- Merge two arrays without duplicates in JavaScript 20 September 2018
- Button tag in bloody Internet Explorer 09 August 2005
- Why I gave up on JQuery UI's autocomplete 20 October 2010
- What makes my website slow? DNS 23 October 2009
- Javascript tip: nifty use of the console.log function in Firebug
07 November 2010
Thank you for bringing this up.
I did pull some hairs before finding your post.