title: Why doesn't this code result in recursion?
body: <p>Given this code:</p>
  
  <pre><code>function foo()
  {
    if (!foo)
    {
      //blah blah blah some code here
      foo = true;
    }
  }
  </code></pre>
  
  <p>What exactly does this do?  Why is it not creating a recursive call?</p>