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.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)