JavaScript, Object Oriented, Technology, Oop.
protection and hiding of state-process.” In OOP, that means that an object stores its state privately, and only the object’s methods have access to change it. If you want to change encapsulated state, you don’t reach out and directly mutate some object’s props. Instead, you call a method on the