2015年12月24日
摘要: //这是在浏览器环境下,chrome下var n =2 ;var obj={n:4,fn1:(function(){console.log("fn1->this ="+this); //这里立即执行时,this是windowconsole.log("fn1->this.n = "+this.n); ... 阅读全文
posted @ 2015-12-24 14:21 c3tc3tc3t 阅读(474) 评论(0) 推荐(0)