r/learnjavascript • • Apr 29 '19

I made a Javascript cheat sheet

I don't know if it can help someone else besides me, but, here it is the Github Project and the web site I made.

Contributions and feedback are always welcome.

Edit: fixed the repo link.

254 Upvotes

30 comments sorted by

View all comments

5

u/MoTTs_ Apr 29 '19 edited Apr 30 '19

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.