2.js裡面的this對象var A={a:function(e){alert(e)},b:function(){console.log(this);this.a(1)}} A.b();//直接這樣調用不報錯,控制台裡面看到this是一個有a ... HTML DOM ...
確定! 回上一頁