Getting Started with Modern JavaScript — Classes
4 min readAug 27, 2020
We often need to create many objects of the same kind, like users or cars. In object-oriented languages, a class is often used for this purpose.
JavaScript, being a prototype-based language, has something called constructor functions.