Back to Content

OOP

files/en-us/glossary/oop/index.md

latest846 B
Original Source

OOP (Object-Oriented Programming) is an approach in programming in which data is encapsulated within {{glossary("object","objects")}} and the object itself is operated on, rather than its component parts.

{{glossary("JavaScript")}} is heavily object-oriented. It follows a prototype-based model, but it also offers a class syntax to enable typical OOP paradigms.

See also