title slug l10n OOP Glossary/OOP sourceCommit ada5fa5ef15eadd44b549ecf906423b4a2092f34 {{GlossarySidebar}} OOP(面向对象编程)是一种编程方法,其中数据封装在对象中,且操作面向的是对象本身而不是其组成部分。 {{glossary("JavaScript")}} 是高度面向对象的。它遵循基于原型的模型,但它也同时提供了类语法来支持经典的 OOP 范式。 参见 维基百科上的面向对象程序设计 JavaScript 对象入门 继承与原型链