Difference between Javascript function declarations
<p>What is the difference between the following two examples?</p>

<pre><code>setInterval(myFunc, 100);

function myFunc() { alert('asdf'); } 
</code></pre>

<hr>

<pre><code>setInterval(myFunc, 100);

var myFunc = function myFunc() { alert('asdf'); }
</code></pre>
