Skip to content

constructor() class method keep's throwing an exception #4

@PikioopSo

Description

@PikioopSo

The exception is:

*** ReferenceError: |this| used uninitialized in anonymous class constructor ***

When I create a class using:

xtag.create( class extends xtag.extensions(myExt){
constructor() { }
} );

It throws the error. When the constructor() method is not used it does not appear. I believe it is a scoping problem.

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