this指向的问题_百度知道
最佳答案: var test=function(){console.log('this'+this);};test.love="i love";console.log(test);//这里输出的是function(){console.log('this'+this)...
让你彻底明白this的指向问题 - 简书
2016年12月30日 - 关于this指向的问题,想必困扰了很多初学JavaScript的同学,一会指向这个一会指向那个,让初学者一脸懵逼。今天我们就来聊聊js面向对象里this的指向问题,...
js闭包中this指向的问题 - ITeye问答
2014年10月19日 - 下面是百度今年的一个笔试题: var myObject = { foo:"bar", func: function() { var self = this; console.log("outer func: this.foo = " + this...