title: JSLint "document.write can be a form of eval" - How is this so?
body: <p>I've come across this message in JSLint...</p>
  
  <blockquote>
    <p>document.write can be a form of eval.</p>
  </blockquote>
  
  <p>and was wondering exactly how so?</p>
  
  <p>The <a href="http://www.jslint.com/lint.html">JSLint instructions</a> page states: </p>
  
  <blockquote>
    <p>The eval function...provide access to the JavaScript
    compiler. This is sometimes necessary,
    but in most cases it indicates the
    presence of extremely bad coding....</p>
  </blockquote>
  
  <p>So, how does <code>document.write</code> "provide access to the JavaScript compiler" then?</p>
  
  <p>Thanks</p>