我有一个对象,我想拦截对该对象的
例如:
in
操作符访问。例如:
myObject.operatorIn = ()=>throw new Error("You can't touch it :)")
in
操作符访问。myObject.operatorIn = ()=>throw new Error("You can't touch it :)")