r/angularjs • • Dec 23 '18

JavaScript Fundamentals Every Beginners Should Know

https://www.zeptobook.com/javascript-fundamentals-every-beginners-should-know/
44 Upvotes

11 comments sorted by

View all comments

10

u/bronkula Dec 23 '18

Well this is just immediately incorrect, since Javascript absolutely DOES have classes, so... you know... disregard this.

4

u/[deleted] Dec 27 '18

ES6 has classes but they’re really not classes like Java or Python classes. It’s just a better abstraction of the prototypical inheritance model. Probably to pander to Java users, bc familiar syntax.