Tuesday, 13 September 2011

Bad JavaScript Bug

Here's a great StackOverflow question that demonstrates how easy it is to create bizarre bugs in JavaScript.

Give me strongly-typed languages any day.

 

2 comments:

  1. That's a bad programmer not bad language :)

    ReplyDelete
  2. @Sohail,

    I'd argue that a language that makes such a bug easy to experience is bad...

    I read the source code and couldn't detect the problem - although I'm not expert at JavaScript....YE!

    ReplyDelete