Invocar únicamente la palabra clave super en un método arroja un error, sin embargo, al acceder a sus propiedades, ej. super.constructor, todo funciona como se esperaba. ¿Hay alguna razón o es solo otra peculiaridad de JavaScript?
class Foo { constructor() { this.bar(); } bar() { /* console.log(super); throws the following SyntaxError: Uncaught SyntaxError: invalid use of keyword 'super' instead of logging the HomeOjbect's (Foo.prototype) prototype (Object.prototype in this case) */ console.log(super.constructor); //here however no problem, it logs Object function } } new Foo