Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super works without classes #28

Open
martinheidegger opened this issue Apr 27, 2015 · 1 comment
Open

Super works without classes #28

martinheidegger opened this issue Apr 27, 2015 · 1 comment

Comments

@martinheidegger
Copy link
Contributor

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.

@yosuke-furukawa
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants