//Proxy,Reflect { let obj={ time:'2018-06-25', name:'net', _r:123 }; let monitor = new Proxy(obj,{ //拦截对象属性的读取 get(target,key){ return target[key].replace('2018','2019') }, //拦截对象设置属性 set(target,key,value){ if(key==='name'){ return target[key]=value;…