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.
Showing posts with label gotchas. Show all posts
Showing posts with label gotchas. Show all posts
14 August 2007
Subscribe to:
Posts (Atom)