title: I need help deciphering this javascript
body: <p>In the beginning of a block of HTML, I found this:</p>
  
  <pre><code>&lt;body&gt;&lt;script type="text/javascript" language="javascript1.2"&gt;//&lt;![CDATA[
  &lt;!--
       ...a bunch of if/thens that drive a browser specific line of text...
  //--&gt;
  //]]&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I'm confused because I would expect the HTML and javascript comment tags <code>&lt;!--</code>  <code>--&gt;</code> and <code>//</code> to prevent the code from running, in essence parsing to </p>
  
  <p><code>&lt;body&gt;&lt;script type="text/javascript" language="javascript1.2"&gt;&lt;/script&gt;</code></p>
  
  <p>However, I'm getting the browser-specific text displaying and there doesn't seem to be anyplace else that it's being generated. Does the <code>&lt;![CDATA[</code> somehow override the javascript comment, allowing the script to run, while the HTML comments inside the <code>CDATA</code> block are preventing the javascript from displaying in the browser? Can someone help me understand how this all gets parsed and displayed/used?</p>