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

The conclusion of the article is also quite weird, as if article offers some radically different mechanism, while in reality is just a wrapping.


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: