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

> Or, were you demonstrating the method overriding + calling to parent use case?

Yep. This gist is what I run co-workers through for demonstrating OOP in JS.




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

Search: