酒香不怕巷子深
IP属地:北京
最下面的网站很不错
第二段代码写错了,get name() 应该写到target中
```
let People = new Proxy({
_name:'zky',
get name(){
return this._name
}
},{
get:function(target,prop,receiver){
return Reflect.get(target,prop,receiver)
}
})
let Man = {_name:'zky_man'}
Man.__proto__ = People // Man继承People
console.log(Man._name) // zky_man
console.log(Man.name) // zky_man
```