jump to navigation

Trailing commas problem in IE prototypes October 27, 2009

Posted by willhlaw in Debugging.
Tags: , , , ,

If I knew about this when I first got started with jQuery and the jPoint Project last year, it would have saved me some hours off my life. When writing prototypes in Javascript, do not include a comma after the last function.

Screenshot is from this post by fritz-onion.



No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: