Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Can not set prototype properties in IE10 #14

@madmed88

Description

@madmed88

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions