I have done some reading about super lately. Here's a summary:
functions created with funcName() syntax (as in class { }) have a hidden attribute pointing to their "HomeObject" - C.prototype and B.prototype in the example here.
also true in an object-literal like { foo() { } }, as a pedantic side note
super is (should be) Object.prototypeOf(HomeObject)
in constructor, super() is shorthand for super.constructor()
It looks like the call to super at line 7 may be resolving super as Object.prototypeOf(this) instead.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@OP, this probably won't help you directly.
I have done some reading about super lately. Here's a summary:
It looks like the call to super at line 7 may be resolving super as Object.prototypeOf(this) instead.
https://2ality.com/2011/11/super-references.html
HTH someone