摘要:
原型模式说明说明:使用原型实例来 拷贝 创建新的可定制的对象;新建的对象,不需要知道原对象创建的具体过程;过程:Prototype => new ProtoExam => clone to new Object;使用相关代码:function Prototype() { this.name =... 阅读全文
posted @ 2014-12-16 22:42
Weiseditor
阅读(1547)
评论(0)
推荐(1)