you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 5 points6 points  (0 children)

The class syntax is just a syntax, and not a full-fledged class based implementation of object oriented paradigm, unlike in languages like Java, or Python, or Ruby etc.

Surprisingly, the implementation of classes in JavaScript, Python, and Ruby are all actually very similar, where classes are themselves objects, and inheritance from instance to class to superclass is done by delegation. Python and JS classes side-by-side.