The objective of this repo is to test the actual scale of object oriented programming capabilities in JavaScript ES6
/ ECM6
compared to high level object oriented programming language.
Example contains a base class Person and two sub classes Teacher and Student which extend the base class.
Learn Object Oriented JavaScript concepts in action. ⚡
Check this blog for the difference between ES5 and ES6 classes
In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, operations (or methods), and the relationships among objects them selves.
- For more details: here
However, our work will be a class diagram as shown below:
Implement the following diagram using inheritance in JS OOP approach in ECMA6
- This is an example to see how the inheritance in JS OOP works + implementing actual diagram.
- Any Text Editor (eg. vscode, Atom, Sublime text).
- Enable JavaScript in your browser + inspect console to test + more details for start-up here
- Fork the Repository here for practicing, editing and applying more functions to it and share with me!!
- Let's do it!!!