-
Notifications
You must be signed in to change notification settings - Fork 63
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
Exercise 3 troubles #54
Comments
Just passing by to contribute: trying to disect the line you wrote just by programmer's instinct, we can deduce that the expression is trying to:
So, resuming, we are just trying to use the superclass string method here in this context (the Regarding the |
I was not able to take the line
Player.super_.prototype.toString.call(this)
and convert it tosuper.toString();
. I had to pull up the solution. I've still got a way to go before I completely understand what's happening in Exercise 3, but is there a way the instructions could be written so it's slightly more obvious how to rewrite this line?Additionally, it makes sense to make that we wouldn't need to include
util
since we rewrote that line, but how would I have known to start the script with'use strict';
?The text was updated successfully, but these errors were encountered: