For JavaScript:
If you want to test whether a String object is NULL , then the following may FAIL
if(someString == "")
if(someString == "null")
The CORRECT way to test would be:
if(someString == null)
---------------------------------------------------------
Resources:
http://lists.evolt.org/archive/Week-of-Mon-20050214/169524.html
No comments:
Post a Comment