title: why is the object "this" not reference to the global window object?
body: <p>The Foo is being executed from the window global object like this:</p>
  
  <pre><code>  new Foo();   // false why?
    Foo();       // true
  
   function Foo()
   { 
       alert(this == window); 
   };
  </code></pre>
  
  <p>But when I run this function Foo code, the alert message says false, why is this when Foo is executed from the global window object?</p>