使用伪命名空间封装保护独自创建的对象方法 实例如下: var LILL ={}; 创建全局 (function (wd) { function $(id) { return document getElementB JavaScript 2022-04-08 286 点赞 4 评论 433 浏览