定义 Proxy ***对象的 set 的时候, 要返回 return true 。
特别是在严格模式下,否则,会报错 'set' on proxy: trap returned falsish for property 'message'
'set' on proxy: trap returned falsish for property 'message'
let handler = { get(obj, property) { }, set(obj, property, value) { return true; } } new Proxy({}, handler);