From 218934fa2ed1c702a6d3923d2aa2cc6b43c48684 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:43:23 -0500 Subject: initial commit --- files/zh-tw/glossary/property/index.html | 13 +++++++++++++ .../zh-tw/glossary/property/javascript/index.html | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 files/zh-tw/glossary/property/index.html create mode 100644 files/zh-tw/glossary/property/javascript/index.html (limited to 'files/zh-tw/glossary/property') diff --git a/files/zh-tw/glossary/property/index.html b/files/zh-tw/glossary/property/index.html new file mode 100644 index 0000000000..50ccfe72ce --- /dev/null +++ b/files/zh-tw/glossary/property/index.html @@ -0,0 +1,13 @@ +--- +title: 屬性 +slug: Glossary/property +tags: + - Disambiguation + - Glossary + - NeedsTranslation + - TopicStub +translation_of: Glossary/property +--- +

根據所屬情境的不同,「屬性(Property)」可代表不同的意思。可能是:

+ +

{{GlossaryDisambiguation}}

diff --git a/files/zh-tw/glossary/property/javascript/index.html b/files/zh-tw/glossary/property/javascript/index.html new file mode 100644 index 0000000000..8bd94bccf9 --- /dev/null +++ b/files/zh-tw/glossary/property/javascript/index.html @@ -0,0 +1,22 @@ +--- +title: Property (JavaScript) +slug: Glossary/property/JavaScript +translation_of: Glossary/property/JavaScript +--- +

property(屬性)是典型的物件特徵,經常與資料結構聯結。屬性分為兩種類型:

+ + + +

屬性擁有一個名字(為{{glossary("string", "字串")}})以及值(可以是{{glossary("primitive", "基本資料型別")}}、{{glossary("method", "方法")}}或是{{glossary("object reference", "物件參考")}})。請注意,當我們說「一個屬性保存著物件」,其實是指「一個屬性保存著物件的參考(reference)」。這其中的差別在於,當你改變屬性中的值的時候,所指向的物件實體之值也會改變。

+ +

了解詳情

+ +

基本知識

+ + -- cgit v1.2.3-54-g00ecf