yosuke-furukawa/tower-of-babel

Super works without classes

Opened this issue · 1 comments

As far as I understand the "super" keyword works in ES6 even on objects that are no classes. (using proto) but the code of "class extend" suggests that it only works for classes.

super word is declared in ES6.
yes, of course you can use super without class. But I would like to tell about extend in the exercise.
super is not explained a lot here.

If i should explain super in detail, I should add another exercise about super.