私はjavascript
Web アプリケーションを読んでおり、作成者は次のコードを使用しています。
mod.load = function(func){
$($.proxy(func, this));
};
関数を返す理由がラッパーjQuery.proxy
内にある理由を誰かが理解するのを手伝ってくれますか。jQuery
これは次と同じですか:
mod.load = function(func){
var temp = $.proxy(func, this);
temp();
};