title: Breaking out of a while loop from within an inner function's body
body: <p>If I have:</p>
  
  <pre><code>while(foo) {
    var x = bar.filter(function(){ /* any problems with using `break;` here to exit the while-loop? */ });
    bar(), baz();
    // and so on...
  }
  </code></pre>
  
  <p>Will there be any weird or unexpected behaviors?</p>