Private Fields, Getters and Setters
A private field keeps an object's data out of reach of other code, a getter lets that code read it, a setter checks a new value before storing it, and static members belong to the class itself.
Updated

- Category
- JavaScript
- Level
- Journeyman
- Tags
- Encapsulation (javascript), Getter (javascript), JavaScript, OOP, Private Field, Setter (javascript), Static Method