Skip to content

Replace __proto__ with modern ways #2

@mooz

Description

@mooz

For now, UxU uses __proto__ pseudo property to achieve inheritance, which is not standardized in current ECMAScript specification (Both 3 and 5).

In draft version of ECMAScript6 specification, __proto__ pseudo property is specified in Annex B. That is, __proto__ implementation is required in web browsers but not required in ECMAScript engine itself.

UxU targets not only web browsers, but also ECMAScript engine itself. To this end, we should replace __proto__ pseudo property with modern ways with Object.create().

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