How does arguments.callee actually work?
<p>I have this code which works:</p>

<pre><code>$(document).ready(function() {
    $("#run").click(function() {
        $("div:animated").toggleClass("colored");
    });

    function animateIt() {
        $("#mover").slideToggle("slow", animateIt);
    }
    animateIt();
});
</code></pre>

<p>With <code>arguments.callee</code> we call a function itself so we do not need a name for a function. So this, should also work, but it doesn't. Can anyone tell me why?</p>

<pre><code>$(document).ready(function() {
    $("#run").click(function() {
        $("div:animated").toggleClass("colored");
    });

    function() {
        $("#mover").slideToggle("slow", arguments.callee);
    }
});
</code></pre>
