title: Can Javascript's "document" object be used as a variable?
body: <p>I was wondering if I can add to Javascript's <code>document</code> object. Like:</p>
  
  <pre><code>var document = {
      name: "My Name"   
  }
  </code></pre>
  
  <ul>
  <li>Is that legal in JavaScript?</li>
  <li>If it is, is it considered "good practice", or should I avoid it?</li>
  <li>If I define it as a variable, is it then considered as a unique object, and not a JS DOM object?</li>
  </ul>
  
  <p>I am plenty new to JavaScript and any help would be much appreciated. </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>After some conversation in the comments and a little more thought on it, I really want to know if I can manipulate the <code>document</code> variable and still use <code>document</code> for normal use.</p>