ポスト @ 2:39:09 , 修正 @ 2007/11/08 2:40:34 | javascript jsのapplyとかcallってメソッドで、メソッドの実行を委譲できるけど、上手く使う方法が思い浮かばない 以下は、Function.prototype.delegateって作って、function to function でdelgate Function.prototype.delegate = function(delegateFor){ return delegateFor.apply(null, arguments); }; var Hoge = function(){ this.open = function (){ return 'this is Hoge#open'; }; this.close = function (){ return '

