Green's Blog

导航

 

2015年4月14日

摘要: 单例模式function Universe() { //缓存实例 var instance = this; this.start_time = 0; this.bang = 'Big'; //重写改构造函数 Universe = function() { return instan... 阅读全文
posted @ 2015-04-14 10:42 GreenBlog 阅读(127) 评论(0) 推荐(0) 编辑