diff options
author | t7yang <t7yang@gmail.com> | 2022-01-10 08:38:04 +0800 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-02-16 02:35:54 +0800 |
commit | 7c2556fe79c44d7c31108b8c8b048d2b7704a95e (patch) | |
tree | cb64f8749da725612d3dc9cf95943d0fc40add79 /files/zh-tw/web/javascript/reference/global_objects/object | |
parent | ba64b95982c1b53696644a033accf800a4e82c09 (diff) | |
download | translated-content-7c2556fe79c44d7c31108b8c8b048d2b7704a95e.tar.gz translated-content-7c2556fe79c44d7c31108b8c8b048d2b7704a95e.tar.bz2 translated-content-7c2556fe79c44d7c31108b8c8b048d2b7704a95e.zip |
remove span tag in zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript/reference/global_objects/object')
-rw-r--r-- | files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html b/files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html index cf83590181..292b2dbe8e 100644 --- a/files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html +++ b/files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html @@ -156,7 +156,7 @@ Object.defineProperty(o, 'conflict', { <p>如果該屬性已經存在, <code>Object.defineProperty()</code> 將會根據描述符內的值和物件當前的 configuration 來修改屬性。 如果舊的描述符之 <code>configurable</code> 的特徵為 false (屬性為 “non-configurable”), 那除了 <code>writable</code> 之外的特徵都將無法修改。 在這個情況,也不可能在 data 和 accessor 屬性類型中來回切換。</p> -<p>如果有一個屬性是 non-configurable, 那它的 <code>writable</code> 特徵只能被改變為 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);">false</span></font>.</p> +<p>如果有一個屬性是 non-configurable, 那它的 <code>writable</code> 特徵只能被改變為 <font face="consolas, Liberation Mono, courier, monospace">false</font>.</p> <p>若嘗試改變 non-configurable property attributes,將會丟出一個 {{jsxref("TypeError")}},除非當前之值與新值相同。</p> |