会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
y雪莉
博客园
首页
新随笔
联系
管理
订阅
2017年1月7日
面向对象的链式调用
摘要: 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)
编辑
公告