Skip to content

Commit

Permalink
add class glossary of zh-cn (#16)
Browse files Browse the repository at this point in the history
* add class glossary of zh-cn
  • Loading branch information
irvin authored Mar 15, 2021
2 parents 9f4ae67 + b2eadc4 commit 8140842
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions files/zh-cn/glossary/class/index.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 8140842

Please sign in to comment.