摘要: JavaScript 单体模式的一种实现1 T.getInstance = (function () {2 3 var instance = null;4 return function () {5 return instance = instance ? i... 阅读全文
posted @ 2015-12-23 13:21 狂徒归来 阅读(271) 评论(0) 推荐(0) 编辑