News for hackers. Stuff that matters.
Re:JavaScript: The Important Parts by cburgmer on Monday May 27, 2013 @05:38AM (#5774043)
Why does Object.prototype keep making it on those lists? Hands up please if you have used inheritance in JS (or any language) lately.
Re:JavaScript: The Important Parts by Torn on Monday May 27, 2013 @06:20AM (#5774119)
raises hand. I'm sure most people building frontend applications in js with MVC patterns are using inheritance.

People doing OO-style inheritance in js probably want to go down the ES5 Object.create route, rather than reassigning prototypes.

http://uxebu.com/blog/2011/02/23/object-based-inheritance-fo...