JavaScript, Programming, Programming Languages, Computer Science, Data Type.
Oriented JavaScript (OOJS). Data abstraction can be achieved by inheritance and composition. In JavaScript, prototypes and closures can help us accomplish data abstraction. Interfaces and abstract classes are examples of data abstractions, but JavaScript does not have such built-in features.