https://github.com/arefshojaei/javascript-class-methods-in-functional
Javascript OOP and Functional programming tutorial
https://github.com/arefshojaei/javascript-class-methods-in-functional
fp functionnal javascript oop tutorial
Last synced: 5 months ago
JSON representation
Javascript OOP and Functional programming tutorial
- Host: GitHub
- URL: https://github.com/arefshojaei/javascript-class-methods-in-functional
- Owner: ArefShojaei
- Created: 2023-05-29T18:28:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T18:30:47.000Z (over 2 years ago)
- Last Synced: 2025-01-01T16:27:43.377Z (about 1 year ago)
- Topics: fp, functionnal, javascript, oop, tutorial
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Javascript-class-methods-in-functional
- 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 🙏❤️
---------------
# new Update
```
Step 5 :
* Using Getter and Setter methods in OOP & FP
* doing a example for updating a name with those methods
```