title: jslint warning "Don't make functions within a loop" only for functions referencing outside variables?
body: <p>I have two anonymous functions created inside a loop, but <code>jshint</code> only gives a warning when the anon function references a variable not passed to it.</p>
  
  <p>Why is this?</p>
  
  <pre><code>(function(){
    for(var i=0; i&lt;5; ++i){
      var age = 9001;
      //This has a jshint warning, as it uses age
      var cutoffs = [1800,12000].map(function(cutoff){
        return cutoff &lt; age;
      });
      //but this doesn't cause a warning, despite creating a function inside a loop
      var cutoffs2 = [1800,12000].map(function(cutoff){
        return cutoff &lt; 42;
      });
    }
  })();
  </code></pre>