title: What object are Javascript global variables stored in?
body: <p>Are global variables stored in specific object? For instance:</p>
  
  <pre><code>var test="stuff";
  console.log(window.test);
  console.log(document.test);
  console.log(this.test);
  </code></pre>
  
  <p>All three of these tests result in <code>undefined</code>, so is there an object that holds these variables?</p>
  
  <p>I feel as though this is something stupid that I should already know, but I can't even seem to find the answer online.</p>