computer programming language
Tuesday, August 14, 2007
JavaScript Retardedness
I just discovered after dealing with an annoying bug for over an hour, that in JavaScript, this evaluates to true:
0 == ''
Thankfully, in the newer browsers, they added the === operator to deal with this.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment