私はjavascriptの 'call'に関する質問があります。「コール」はどのようにjavascriptで動作しますか?
var humanWithHand = function(){
this.raiseHand = function(){
alert("raise hand");
}
}
var humanWithFoot = function(){
this.raiseFoot = function(){
alert("raise foot");
}
}
var human = function(){
humanWithHand.call(this);
humanWithFoot.call(this);
}
var test = new human();
so ..私がhumanWithHand.call(this)として 'call'を使用すると、内部的にはどうなりますか?
humanWithHandは、そのプロパティとメンバを人間の変数のプロトタイプにコピー(またはポイント?)しますか?
[MDN Documentation call()](https://developer.mozilla.org/ja/JavaScript/Reference/Global_Objects/Function/call) – epascarello