Check the Prototypes, inheritance chapter of javascript.info's tutorial. It's not something that you'll use, but it'll make you understand better how classes and inheritance work in JS.
Then, follow the Classes chapter.
Check the Prototypes, inheritance chapter of javascript.info's tutorial. It's not something that you'll use, but it'll make you understand better how classes and inheritance work in JS.
Then, follow the Classes chapter.