thisはどこ?問題続き
と思いきや、
prototype.js には bind なる便利メソッドがあるぽい。
その中身はというと、
Function.prototype.bind = function() { var __method = this, args = $A(arguments), object = args.shift(); return function() { return __method.apply(object, args.concat($A(arguments))); } }
なるほど!
やっぱ、 apply が正解か。
ほんとはあんまりわかってないけどね!