title: Javascript: performance of var functionName = function() {} vs function functionName() {}
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/80802/does-use-of-anonymous-functions-affect-performance">Does use of anonymous functions affect performance?</a>  </p>
  </blockquote>
  
  
  
  <p>What are performance implications (if any) on parse and run-time when using function expression vs declaration in Javascript? </p>
  
  <p>For example, what are performance characteristics and differences of the following two ways:</p>
  
  <pre><code>var functionOne = function() {
      // Some code
  }
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>function functionTwo() {
      // Some code
  }
  </code></pre>
  
  <p>NOTE: The question is not about whether it is faster to declare function but about function execution. </p>