2 ms·
JavaScript is an example of "class"-less OOP (at least before they actually added classes.)
by hayksaakian 12y ago
JavaScript is an example of "class"-less OOP
(at least before they actually added classes.)
- mewwts 12y agoES6 added the class keyword, but that doesn't mean that there are actual classes in JavaScript. I can highly recommend this book if you'd like to dive deeper, I just finished reading it: https://github.com/getify/You-Dont-Know-JS/tree/master/this%20%26%20object%20prototypes https://github.com/getify/You-Dont-Know-JS/tree/master/this%...