摘要: 一、apply和call主要是用来更改上下文,即this的指向var func=new function(){this.a="func"}var myfunc=function(x){ var a="myfunc"; console.log("this.a:"+this.a); c... 阅读全文
posted @ 2015-12-07 19:59 文刂亻右景彡 阅读(165) 评论(0) 推荐(0) 编辑