diff options
author | Irvin <irvinfly@gmail.com> | 2021-03-16 01:43:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 01:43:00 +0800 |
commit | 8140842a1b9d12c52c2b5db11352e4f5d91058d7 (patch) | |
tree | 7ed3e8f754ea9b8083158fe1b7d54b4771d8eb5e /files/zh-cn/glossary | |
parent | 9f4ae674a3f256e637b6539363f76a323e96f20c (diff) | |
parent | b2eadc4a758363ef29f9ef8a013d8eb7f25e90dd (diff) | |
download | translated-content-8140842a1b9d12c52c2b5db11352e4f5d91058d7.tar.gz translated-content-8140842a1b9d12c52c2b5db11352e4f5d91058d7.tar.bz2 translated-content-8140842a1b9d12c52c2b5db11352e4f5d91058d7.zip |
add class glossary of zh-cn (#16)
* add class glossary of zh-cn
Diffstat (limited to 'files/zh-cn/glossary')
-rw-r--r-- | files/zh-cn/glossary/class/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/class/index.html b/files/zh-cn/glossary/class/index.html new file mode 100644 index 0000000000..4fcd51f5b1 --- /dev/null +++ b/files/zh-cn/glossary/class/index.html @@ -0,0 +1,19 @@ +--- +title: Class(类) +slug: Glossary/Class +tags: + - 编码脚本 + - 术语表 +--- +<p>在面向对象编程中({{glossary("OOP","object-oriented programming")}}), 一个 <em>类</em> 定义了一个对象({{glossary("object","object's")}})的特征. 类是定义对象属性({{glossary("property","properties")}})和方法({{glossary("method","methods")}})的模板, 是用来绘制具体对象实例的“蓝图”.</p> + +<h2 id="Learn_More">了解更多</h2> + +<h3 id="General_knowledge">基本知识</h3> + +<ul> + <li><a href="/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model#Class-based_vs._prototype-based_languages">Class-based vs. prototype-based programming languages</a> (like JavaScript)</li> + <li><a href="/en-US/docs/Learn/JavaScript/Objects#The_Class">Using functions as classes in JavaScript</a></li> + <li><a href="https://en.wikipedia.org/wiki/Class-based_programming">Class-based programming</a> on Wikipedia</li> + <li><a href="https://en.wikipedia.org/wiki/Object-oriented_programming">Object-oriented programming</a> on Wikipedia</li> +</ul> |