Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not set prototype properties in IE10 #14

Open
madmed88 opened this issue Jun 16, 2016 · 1 comment
Open

Can not set prototype properties in IE10 #14

madmed88 opened this issue Jun 16, 2016 · 1 comment

Comments

@madmed88
Copy link

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 madmed88 changed the title Can not set prototype properties in IE11 Can not set prototype properties in IE10 Jun 16, 2016
@samthor
Copy link
Contributor

samthor commented Feb 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants