Re:The world's smallest and fastest classical JavaScript inh...
by yuchi on Saturday February 15, 2014 @12:02PM
(#7244336)
I still don’t understand why no one does `child.__proto__ = parent;` to inherit properties on the constructor chain too.
[ Parent
| on HN ]
Re:The world's smallest and fastest classical JavaScript inh...
by nevir on Saturday February 15, 2014 @12:12PM
(#7244384)
There's a bunch of caveats to __proto__: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...