このコードでは具体的に何func.apply(this, arguments);をしますか?がないと要素のサイズを動的に変更できないことがわかりますが、使用した後、または使用した後はapply何も行われていないようです。thisargumentsapply
function throttle (func, wait) {
var throttling = false;
return function(){
if (!throttling){
func.apply(this, arguments);
throttling = true;
setTimeout(function(){
throttling = false;
}, wait);
}
};
}