摘要: Proxy代理对象 let person = { name: "zf", get aliasName() { //属性访问器 return this.name + "jg"; }, }; 使用 Proxy 代理 const proxy = new Proxy(person, { get(target 阅读全文
posted @ 2022-06-25 11:25 霸哥yyds 阅读(118) 评论(0) 推荐(0)