title: Why use named function expressions?
body: <p>We have two different way for doing function expression in JavaScript:</p>
  
  <p><strong>Named function expression (NFE)</strong>: </p>
  
  <pre><code>var boo = function boo () {
    alert(1);
  };
  </code></pre>
  
  <p><strong>Anonymous function expression</strong>:</p>
  
  <pre><code>var boo = function () {
    alert(1);
  };
  </code></pre>
  
  <p>And both of them can be called with <code>boo();</code>. I really can't see why/when I should use anonymous functions and when I should use Named Function Expressions. What difference is there between them?</p>