(target, prop, value)
| 92 | return typeof value === "function" ? value.bind(target) : value; |
| 93 | }, |
| 94 | set(target, prop, value) { |
| 95 | if (Object.prototype.hasOwnProperty.call(sandboxGlobals, prop)) { |
| 96 | sandboxGlobals[prop] = value; |
| 97 | return true; |
| 98 | } |
| 99 | return Reflect.set(target, prop, value); |
| 100 | }, |
| 101 | has(target, prop) { |
| 102 | return ( |
| 103 | Object.prototype.hasOwnProperty.call(sandboxGlobals, prop) || |