DEV Community

Discussion on: Introduction to OOP in Javascript

Collapse
 
st2rseeker profile image
Edward Goikhman

I would suggest changing the inheritance example to a proper is-a relationship to illustrate the point - I assume many OOP-newbies will find this article, so better not confuse them :)

There is no sense in Person extending Organization (essentially being one).

Collapse
 
ndiecodes profile image
Ndifreke Friday

On it......tanx for the response