aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/oop/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:29:51 +0100
committerGitHub <noreply@github.com>2021-02-11 18:29:51 +0100
commit2bc5610921312613f8623f7ed347aa576689b2b6 (patch)
treef17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/glossary/oop/index.html
parent964decad361766e85d928a56f0ab80af0e75c172 (diff)
parentfc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff)
downloadtranslated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/glossary/oop/index.html')
-rw-r--r--files/zh-cn/glossary/oop/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/oop/index.html b/files/zh-cn/glossary/oop/index.html
new file mode 100644
index 0000000000..b4163352cd
--- /dev/null
+++ b/files/zh-cn/glossary/oop/index.html
@@ -0,0 +1,22 @@
+---
+title: OOP
+slug: Glossary/OOP
+tags:
+ - 初学者
+ - 术语
+ - 编写脚本
+translation_of: Glossary/OOP
+original_slug: Glossary/面向对象编程
+---
+<p><strong>OOP</strong>(面向对象编程)是一种编程方法,其中数据封装在<strong>{{glossary("object","对象")}}</strong>中,对象本身在其上运行,而不是其组成部分。</p>
+
+<p>{{glossary("JavaScript")}} 是高度面向对象的。它遵循基于原型的模型(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#Class-based_vs._prototype-based_languages">与基于类的模型相反</a>)。</p>
+
+<h2 id="了解更多">了解更多</h2>
+
+<h3 id="常识">常识</h3>
+
+<ul>
+ <li>维基百科:{{Interwiki("wikipedia", "Object-oriented programming")}}</li>
+ <li><a href="/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript">JavaScript面向对象简介</a></li>
+</ul>