title: Difference between assigning function to variable or not
body: <p>I have a worked on a couple different projects and I have seen two different ways of creating jQuery/JavaScript functions. </p>
  
  <p>The first:</p>
  
  <pre><code>function testFunction(){
  
  };
  </code></pre>
  
  <p>The second:</p>
  
  <pre><code>var testFunction = function (){
  
  };
  </code></pre>
  
  <p>Is there a difference between these? </p>