Hacker News new | past | comments | ask | show | jobs | submit login

I still don’t understand why no one does `child.__proto__ = parent;` to inherit properties on the constructor chain too.




Because then your JavaScript will break in both old, and even relatively recent versions of Internet Explorer.




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

Search: