diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:40 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:40 +0100 |
commit | 310fd066e91f454b990372ffa30e803cc8120975 (patch) | |
tree | d5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/glossary/oop | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2 translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip |
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/glossary/oop')
-rw-r--r-- | files/zh-cn/glossary/oop/index.html | 21 |
1 files changed, 21 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..4f2793cc69 --- /dev/null +++ b/files/zh-cn/glossary/oop/index.html @@ -0,0 +1,21 @@ +--- +title: OOP +slug: Glossary/面向对象编程 +tags: + - 初学者 + - 术语 + - 编写脚本 +translation_of: Glossary/OOP +--- +<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> |