I got shock while coding when i noticed
0 (zero) AND "" (NULL) are equal
Just tested it
alert(0=="");
it was strange for me when it alerted TRUE
Then i think again......
" Do i know JavaScript? "
Saturday, May 17, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment