摘要: js实现 // 2 shallowReadonly 与 readonly // 定义一个readonlyHandler处理对象 const readonlyHandler = { // 获取属性值 get(target,prop){ console.log('get',prop); const re 阅读全文
posted @ 2021-04-16 14:08 xujing123 阅读(114) 评论(0) 推荐(0) 编辑