Difference between assigning function to variable or not
<p>I have a worked 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>
