To proper understand the OOP in JS, we should have proper basic understanding of following topis. For each topic there is separate file for better understanding. Follow the files as per order.
- Object Literal
- Constructor
- Prototypes
- ES6 Classes
- ES6 SubClasses
For code output