proxy-polyfill icon indicating copy to clipboard operation
proxy-polyfill copied to clipboard

Can not set prototype properties in IE10

Open madmed88 opened this issue 8 years ago • 1 comments

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?

madmed88 avatar Jun 16 '16 17:06 madmed88

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 :)

samthor avatar Feb 21 '20 02:02 samthor