DEV Community

Discussion on: Javascript classes : class, constructor, new, extends, super

Collapse
 
jcubic profile image
Jakub T. Jankiewicz

Note that Java way is not the only way. I think that the first OOP was in smalltalk that was completely different than Java. So you can't use that JS is not real OOP because it's not like Java. that way you can say that JS is not functional because it's not like Haskell, which make no sense at all. JavaScript is Object oriented even without ES6 classes, but use different approach then Java.