Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, I don't get why it is suddenly real prototypal inheritance just because it uses a wrapper function which hides the constructor. The resulting instance have exactly the same inheritance semantics.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: