摘要: var singleton = (function(){ var instance; return function () { if (instance) return instance; instance = this; return instance; } }()); var obj = new singleton(... 阅读全文
posted @ 2017-04-30 13:24 ax=null 阅读(135) 评论(0) 推荐(0) 编辑