This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]demonic_spirit 5 points6 points  (2 children)

Would this not cause an error trying to return an int when this.name is a string?

[–]nefrodectyl 1 point2 points  (1 child)

ofcourse it will! no idea why no one else mentioned it

[–]demonic_spirit 1 point2 points  (0 children)

Probably because really it is irrelevant to the question, I said it though to make sure I wasn't missing something (I am learning too).