次のようなループがあります。
$('#SomeSelectorID').find('.SomeElementsByClassName').each(function () {
$(this).some code here;
$(this).some other code there;
$(this).some other code here and there;
});
ループの先頭に書いてvar TheThis = $(this);
から置き換える$(this)
とTheThis
、それはパフォーマンスの最適化でしょうか?