“Uncaught ReferenceError: this is not defined” in class constructor
This is a fact of the new class syntax. Your subclass needs to call super() in order for the class to be properly initialized, e.g. super(arg1, arg2, argN); with whatever arguments the parent constructor needs. It is required that, if execution reaches the end of a constructor function, the value of this needs to have … Read more