Hi all,

I'm analysing some different scripts to learn more about JavaScript. One thing I've noticed in a few of them is the following piece of code:

Code:
if (document.getElementById && document.getElementsByTagName) {
   //stuff
   }
When would this ever return FALSE? As long as the page has tags, I can't see how this could return FALSE, so why include it in the first place when the script is event-driven?