title: How can I inspect an anonymous function closure in Chrome
body: <p>I have an anonymous function that's attached to an event listener in Chrome, how can I inspect the values of its closure?</p>
  
  <p>For example:</p>
  
  <pre><code>(function(){
    var i = 0;
    document.body.onclick = function() {
      i += 1;
    };
  })();
  </code></pre>
  
  <p>How can I find the current value of i?</p>