用户sevio的头像

sevio

查看新浪微博主页
  • 用户头像

    sevio

    @玉伯也叫射雕 请看这道题目: var a = function(){ this.b = 1; }; a.prototype.c = function(d){ console.log(this); return this.b + d; } var e = function(fns){ return fns(4); } var f = new a(); console.log(e(f.c)); 结果是什么? 如何解决这个this问题。
    展开全文
    原微博