摘要: 1、 对象的链式调用 function Chain(){ this.n=0;//属性不一定一开始的时候全部都要初始化 this.fn1=function(_obj){//this指向 new Chain()实例化的对象 alert(this.n++);//注意:alert(this.n++)与thi 阅读全文
posted @ 2017-01-07 21:17 shirleyYing 阅读(625) 评论(0) 推荐(1) 编辑