proxy-polyfill
proxy-polyfill copied to clipboard
Can not set prototype properties in IE10
Since IE10 does not support setPrototypeOf, prototype properties are copied and arenot writable.
As a workaround I changed
Object.defineProperty(proxy, k, {get: getter.bind(target, k)});
to
Object.defineProperty(proxy, k, {get: getter.bind(target, k)}, set: setter.bind(target, k));
any reason why you don't allow setting prototype properties?
This bug is nearly four years old. I don't have a practical way of testing on IE10.
If this is important to anyone, please send us a PR :)