会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
世界很大,我想和你去看
易朵小花
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
JS
原型模式
摘要:转载http://www.cnblogs.com/guoshiwei/p/4909834.html#3292590
阅读全文
posted @
2017-05-01 14:15
易朵小花
阅读(127)
评论(0)
推荐(0)
面向对象之工厂模式和构造函数模式
摘要:工厂模式:用函数来封装,以特定接口来创建对象的细节。 console.log(person1 instanceof person); // false console.log(person1 instanceof Object);//true console.log(person instanceo
阅读全文
posted @
2017-04-29 16:04
易朵小花
阅读(204)
评论(0)
推荐(0)
公告