what is apply doing here?
<p>What specifcially does <code>func.apply(this, arguments);</code> do in this code? I can see that it will not work to resize the elements dynamically without the <code>apply</code>, however, it seems as though nothing further is done with <code>this</code> or <code>arguments</code> after <code>apply</code> is used.</p>

<pre><code>function throttle (func, wait) {
    var throttling = false;
    return function(){
        if (!throttling){
            func.apply(this, arguments);
            throttling = true;
            setTimeout(function(){
                throttling = false;
            }, wait);            
        }
    };
}
</code></pre>

<p><a href="http://jsbin.com/axugek/1/edit" rel="nofollow">jsbin</a></p>
