Skip to content

Getters/Setters #32

Closed
Closed
@indutny

Description

@indutny

It should be possible to use getters/setters. Main reason for doing it now is:

function A() {}
A.prototype.x = 1;
function B() {}
B.prototype = new A();
new B().x

Which does not work now, because prototype is a regular property and updating it won't change the actual instance map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions