-
This project was created by pure javascript and in the project from ES6 class methods in functional with modular structure
-
Examples from OOP & Functional ( FP ) :
Step 1 :
* Creating a class
* Using constructor method
Step 2 :
* Creating another class
* Using inheritance in OOP & FP
Step 3 :
* Adding new method for every class
* Calling the method for using that
Step 4 :
* Using static method in OOP & FP
* Creating a simple project with OOP & FP for comparing between both
- Finally, if you wanna work with these files, you should open index.html file and you'll see the result in console of browser like this picture
- I hope you'll like it and tnx for watching 🙏❤️
Step 5 :
* Using Getter and Setter methods in OOP & FP
* doing a example for updating a name with those methods