News for hackers. Stuff that matters.
Re:How Javascript Prototypal Inheritance Really works by rimantas on Saturday May 28, 2011 @01:07PM (#2594764)
The conclusion of the article is also quite weird, as if article offers some radically different mechanism, while in reality is just a wrapping.
Re:How Javascript Prototypal Inheritance Really works by olavk on Sunday May 29, 2011 @10:22AM (#2596685)
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.