摘要: function deepConst(data){ Object.freeze(data); for(let key in data){ let prop = data[key]; if(!data.hasOwnProperty(key) || !(typeof prop === "object") || Object.isFrozen(prop)){ con... 阅读全文
posted @ 2019-02-13 10:29 陈小银 阅读(214) 评论(0) 推荐(0) 编辑