aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:04 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commit7c2556fe79c44d7c31108b8c8b048d2b7704a95e (patch)
treecb64f8749da725612d3dc9cf95943d0fc40add79 /files/zh-tw/web/javascript/reference
parentba64b95982c1b53696644a033accf800a4e82c09 (diff)
downloadtranslated-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')
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/array/join/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/array/map/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/date/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/function/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/math/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/object/defineproperty/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/global_objects/string/concat/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/index.html60
-rw-r--r--files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/operators/typeof/index.html4
-rw-r--r--files/zh-tw/web/javascript/reference/statements/block/index.html10
-rw-r--r--files/zh-tw/web/javascript/reference/statements/export/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/statements/import/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/statements/label/index.html2
-rw-r--r--files/zh-tw/web/javascript/reference/statements/switch/index.html2
17 files changed, 52 insertions, 52 deletions
diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html
index 0beaecebdd..a43360caf5 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/array/join/index.html
@@ -54,7 +54,7 @@ a.join(''); // 'WindRainFire'</pre>
<pre class="brush: js">function f(a, b, c) {
var s = Array.prototype.join.call(arguments);
- console.log(s); // '<span class="message-body-wrapper"><span class="message-flex-body"><span class="devtools-monospace message-body"><span class="objectBox objectBox-string">1,a,true'</span></span></span></span>
+ console.log(s); // '1,a,true'
}
f(1, 'a', true);
//expected output: "1,a,true"
diff --git a/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html b/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
index d1838ce6ae..c87fa95064 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/array/map/index.html
@@ -15,7 +15,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/map
---
<div>{{JSRef}}</div>
-<p><span class="seoSummary"><code><strong>map()</strong></code> 方法會建立一個新的陣列,其內容為原陣列的每一個元素經由回呼函式運算後所回傳的結果之集合。</span></p>
+<p><code><strong>map()</strong></code> 方法會建立一個新的陣列,其內容為原陣列的每一個元素經由回呼函式運算後所回傳的結果之集合。</p>
<div>{{EmbedInteractiveExample("pages/js/array-map.html")}}</div>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
index abdc0e89a1..fb55827283 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/getday/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getDay
---
<div>{{JSRef}}</div>
-<p><span class="seoSummary"><strong><code>getDay()</code></strong> 方法會根據當地時間將指定日期返回一星期中的第幾天,</span>其中0代表星期日。 在當月的某天可以參考{{jsxref("Date.prototype.getDate()")}}。</p>
+<p><strong><code>getDay()</code></strong> 方法會根據當地時間將指定日期返回一星期中的第幾天,其中0代表星期日。 在當月的某天可以參考{{jsxref("Date.prototype.getDate()")}}。</p>
<div>{{EmbedInteractiveExample("pages/js/date-getday.html", "shorter")}}</div>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/date/index.html b/files/zh-tw/web/javascript/reference/global_objects/date/index.html
index 91c0305aa4..9e5675e682 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/date/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/date/index.html
@@ -34,7 +34,7 @@ new Date(<var>year</var>, <var>month</var>[, <var>day</var>[, <var>hour</var>[,
<dl>
<dt><code>value</code></dt>
- <dd>自世界標準時間(UTC) 1970 年 1 月 1 日 00:00:00 開始的毫秒整數(Integer)值(Unix 紀元;但要注意到大多 Unix 時間<span class="short_text" id="result_box" lang="zh-CN"><span>戳記是以秒而非毫秒為單位)。</span></span></dd>
+ <dd>自世界標準時間(UTC) 1970 年 1 月 1 日 00:00:00 開始的毫秒整數(Integer)值(Unix 紀元;但要注意到大多 Unix 時間戳記是以秒而非毫秒為單位)。</dd>
<dt><code>dateString</code></dt>
<dd>表示時間日期的字串。這個字串應該要能被 {{jsxref("Date.parse()")}} 方法解析(符合 <a href="http://tools.ietf.org/html/rfc2822#page-14">IETF-compliant RFC 2822 timestamps</a> 及 <a href="http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15">version of ISO8601</a> 格式要求).
<div class="note">
diff --git a/files/zh-tw/web/javascript/reference/global_objects/function/index.html b/files/zh-tw/web/javascript/reference/global_objects/function/index.html
index b88c087b24..aaed1afc5c 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/function/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/function/index.html
@@ -22,7 +22,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function
<dt><code>arg1, arg2, ... arg<em>N</em></code></dt>
<dd>function 的引數名稱必須要符合正規的命名。每個名稱都必須要是有效的 JavaScript 識別符號規則的字串,或是使用英文逗號「, 」分隔開的字串清單; 像是 "x", "theValue", 或是 "a, b'。</dd>
<dt><code>functionBody</code></dt>
- <dd><span class="_3oh- _58nk">包含 JavaScript 狀態以及 function 定義的字串。</span></dd>
+ <dd>包含 JavaScript 狀態以及 function 定義的字串。</dd>
</dl>
<h2 id="描述">描述</h2>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/index.html b/files/zh-tw/web/javascript/reference/global_objects/math/index.html
index 7d7a6814e8..181af7319c 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/index.html
@@ -41,7 +41,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math
<h2 id="方法">方法</h2>
<div class="note">
-<p>注意三角函數 <span style="font-size: 1rem; letter-spacing: -0.00278rem;">(</span><code style="font-style: normal; letter-spacing: -0.00278rem;">sin()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">cos()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">tan()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">asin()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">acos()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">atan()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">, </span><code style="font-style: normal; letter-spacing: -0.00278rem;">atan2()</code><span style="font-size: 1rem; letter-spacing: -0.00278rem;">) 的參數或回傳值的角度皆以弧度為單位。把角度乘上 </span><code style="font-style: normal; letter-spacing: -0.00278rem;">(Math.PI / 180)</code> 會得到弧度單位,將弧度除以該數則會轉換回一般所用的角度單位。</p>
+<p>注意三角函數 (<code style="font-style: normal; letter-spacing: -0.00278rem;">sin()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">cos()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">tan()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">asin()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">acos()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">atan()</code>, <code style="font-style: normal; letter-spacing: -0.00278rem;">atan2()</code>) 的參數或回傳值的角度皆以弧度為單位。把角度乘上 <code style="font-style: normal; letter-spacing: -0.00278rem;">(Math.PI / 180)</code> 會得到弧度單位,將弧度除以該數則會轉換回一般所用的角度單位。</p>
</div>
<div class="note">
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>
diff --git a/files/zh-tw/web/javascript/reference/global_objects/string/concat/index.html b/files/zh-tw/web/javascript/reference/global_objects/string/concat/index.html
index 5a7e570860..3b274e3746 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/string/concat/index.html
+++ b/files/zh-tw/web/javascript/reference/global_objects/string/concat/index.html
@@ -11,7 +11,7 @@ browser-compat: javascript.builtins.String.concat
---
<div>{{JSRef}}</div>
-<p><span class="seoSummary"><strong><code>concat()</code></strong> 會將呼叫此方法的字串以及作為參數傳遞進此方法的字串串接在一起,並將串接結果作為一個新的字串回傳。</span></p>
+<p><strong><code>concat()</code></strong> 會將呼叫此方法的字串以及作為參數傳遞進此方法的字串串接在一起,並將串接結果作為一個新的字串回傳。</p>
<div>{{EmbedInteractiveExample("pages/js/string-concat.html")}}</div>
diff --git a/files/zh-tw/web/javascript/reference/index.html b/files/zh-tw/web/javascript/reference/index.html
index 2ca85629ef..a4de78261c 100644
--- a/files/zh-tw/web/javascript/reference/index.html
+++ b/files/zh-tw/web/javascript/reference/index.html
@@ -15,14 +15,14 @@ translation_of: Web/JavaScript/Reference
<p>本章節記錄了所有 <a href="/zh-TW/docs/Web/JavaScript/Reference/Global_Objects">JavaScript 標準內建物件</a> 以及其方法與屬性。</p>
<ul class="card-grid">
- <li><span>數值屬性</span>
+ <li>數值屬性
<p>{{JSxRef("Infinity")}}<br>
{{JSxRef("NaN")}}<br>
{{JSxRef("undefined")}}<br>
{{JSxRef("globalThis")}}</p>
</li>
- <li><span>函數屬性</span>
+ <li>函數屬性
<p>{{JSxRef("Global_Objects/eval", "eval()")}}<br>
{{JSxRef("Global_Objects/isFinite", "isFinite()")}}<br>
{{JSxRef("Global_Objects/isNaN", "isNaN()")}}<br>
@@ -33,13 +33,13 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("Global_Objects/encodeURI", "encodeURI()")}}<br>
{{JSxRef("Global_Objects/encodeURIComponent", "encodeURIComponent()")}}</p>
</li>
- <li><span>基礎物件</span>
+ <li>基礎物件
<p>{{JSxRef("Object")}}<br>
{{JSxRef("Function")}}<br>
{{JSxRef("Boolean")}}<br>
{{JSxRef("Symbol")}}</p>
</li>
- <li><span>Error objects</span>
+ <li>Error objects
<p>{{JSxRef("Error")}}<br>
{{JSxRef("AggregateError")}}<br>
{{JSxRef("EvalError")}}<br>
@@ -53,18 +53,18 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>數字與日期</span>
+ <li>數字與日期
<p>{{JSxRef("Number")}}<br>
{{JSxRef("BigInt")}}<br>
{{JSxRef("Math")}}<br>
{{JSxRef("Date")}}</p>
</li>
- <li><span>文字處理</span>
+ <li>文字處理
<p>{{JSxRef("String")}}<br>
{{JSxRef("RegExp")}}</p>
</li>
- <li><span>具索引的集合</span><a href="/en-US/docs/Web/JavaScript/Guide/Numbers_and_dates#Numbers"> </a>{{JSxRef("Array")}}<br>
+ <li>具索引的集合<a href="/en-US/docs/Web/JavaScript/Guide/Numbers_and_dates#Numbers"> </a>{{JSxRef("Array")}}<br>
{{JSxRef("Int8Array")}}<br>
{{JSxRef("Uint8Array")}}<br>
{{JSxRef("Uint8ClampedArray")}}<br>
@@ -76,7 +76,7 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("Float64Array")}}<br>
{{JSxRef("BigInt64Array")}}<br>
{{JSxRef("BigUint64Array")}}</li>
- <li><span>具鍵值的集合</span>
+ <li>具鍵值的集合
<p>{{JSxRef("Map")}}<br>
{{JSxRef("Set")}}<br>
{{JSxRef("WeakMap")}}<br>
@@ -85,7 +85,7 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>結構化資料</span>
+ <li>結構化資料
<p>{{JSxRef("ArrayBuffer")}}<br>
{{JSxRef("SharedArrayBuffer")}}<br>
@@ -93,17 +93,17 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("DataView")}}<br>
{{JSxRef("JSON")}}</p>
</li>
- <li><span>控制抽象化物件</span>
+ <li>控制抽象化物件
<p>{{JSxRef("Promise")}}<br>
{{JSxRef("Generator")}}<br>
{{JSxRef("GeneratorFunction")}}<br>
{{JSxRef("AsyncFunction")}}</p>
</li>
- <li><span>Reflection</span>
+ <li>Reflection
<p>{{JSxRef("Reflect")}}<br>
{{JSxRef("Proxy")}}</p>
</li>
- <li><span>國際化</span>
+ <li>國際化
<p>{{JSxRef("Intl")}}<br>
{{JSxRef("Global_Objects/Collator", "Intl.Collator")}}<br>
{{JSxRef("Global_Objects/DateTimeFormat", "Intl.DateTimeFormat")}}<br>
@@ -116,7 +116,7 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>WebAssembly</span>
+ <li>WebAssembly
<p>{{JSxRef("WebAssembly")}}<br>
{{JSxRef("WebAssembly.Module")}}<br>
@@ -134,7 +134,7 @@ translation_of: Web/JavaScript/Reference
<p>本章節記錄了所有 <a href="/zh-TW/docs/Web/JavaScript/Reference/Statements">JavaScript 敘述句與宣告</a>。</p>
<ul class="card-grid">
- <li><span>流程控制</span>{{jsxref("Statements/block", "Block")}}<br>
+ <li>流程控制{{jsxref("Statements/block", "Block")}}<br>
{{jsxref("Statements/break", "break")}}<br>
{{jsxref("Statements/continue", "continue")}}<br>
{{jsxref("Statements/Empty", "Empty")}}<br>
@@ -142,19 +142,19 @@ translation_of: Web/JavaScript/Reference
{{jsxref("Statements/switch", "switch")}}<br>
{{jsxref("Statements/throw", "throw")}}<br>
{{jsxref("Statements/try...catch", "try...catch")}}</li>
- <li><span>宣告</span>
+ <li>宣告
<p>{{jsxref("Statements/var", "var")}}<br>
{{jsxref("Statements/let", "let")}}<br>
{{jsxref("Statements/const", "const")}}</p>
</li>
- <li><span>函數與類別</span>
+ <li>函數與類別
<p>{{jsxref("Statements/function", "function")}}<br>
{{jsxref("Statements/function*", "function*")}}<br>
{{jsxref("Statements/async_function", "async function")}}<br>
{{jsxref("Statements/return", "return")}}<br>
{{jsxref("Statements/class", "class")}}</p>
</li>
- <li><span>迭代</span>
+ <li>迭代
<p>{{jsxref("Statements/do...while", "do...while")}}<br>
{{jsxref("Statements/for", "for")}}<br>
{{jsxref("Statements/for_each...in", "for each...in")}}<br>
@@ -166,7 +166,7 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>Other</span>
+ <li>Other
<p>{{jsxref("Statements/debugger", "debugger")}}<br>
{{jsxref("Statements/import", "import")}}<br>
@@ -181,7 +181,7 @@ translation_of: Web/JavaScript/Reference
<div>
<ul class="card-grid">
- <li><span>主要運算式</span>{{JSxRef("Operators/this", "this")}}<br>
+ <li>主要運算式{{JSxRef("Operators/this", "this")}}<br>
{{JSxRef("Operators/function", "function")}}<br>
{{JSxRef("Operators/class", "class")}}<br>
{{JSxRef("Operators/function*", "function*")}}<br>
@@ -194,20 +194,20 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("Global_Objects/RegExp", "/ab+c/i")}}<br>
{{JSxRef("Operators/Grouping", "( )")}}<br>
{{JSxRef("null")}}</li>
- <li><span>左手邊運算式</span>
+ <li>左手邊運算式
<p>{{JSxRef("Operators/Property_accessors", "Property accessors", "", 1)}}<br>
{{JSxRef("Operators/new", "new")}}<br>
{{JSxRef("Operators/new%2Etarget", "new.target")}}<br>
{{JSxRef("Operators/super", "super")}}<br>
{{JSxRef("Operators/Spread_syntax", "...obj")}}</p>
</li>
- <li><span>遞增與遞減</span>
+ <li>遞增與遞減
<p>{{JSxRef("Operators/Arithmetic_Operators", "A++", "#Increment")}}<br>
{{JSxRef("Operators/Arithmetic_Operators", "A--", "#Decrement")}}<br>
{{JSxRef("Operators/Arithmetic_Operators", "++A", "#Increment")}}<br>
{{JSxRef("Operators/Arithmetic_Operators", "--A", "#Decrement")}}</p>
</li>
- <li><span>一元運算子</span>
+ <li>一元運算子
<p>{{JSxRef("Operators/delete", "delete")}}<br>
{{JSxRef("Operators/void", "void")}}<br>
{{JSxRef("Operators/typeof", "typeof")}}<br>
@@ -219,7 +219,7 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>算術運算子</span>
+ <li>算術運算子
<p>{{JSxRef("Operators/Arithmetic_Operators", "+", "#Addition")}}<br>
{{JSxRef("Operators/Arithmetic_Operators", "-", "#Subtraction")}}<br>
@@ -228,7 +228,7 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("Operators/Arithmetic_Operators", "%", "#Remainder")}}<br>
{{JSxRef("Operators/Arithmetic_Operators", "**", "#Exponentiation")}}</p>
</li>
- <li><span>關係運算子</span>
+ <li>關係運算子
<p>{{JSxRef("Operators/in", "in")}}<br>
{{JSxRef("Operators/instanceof", "instanceof")}}<br>
{{JSxRef("Operators/Comparison_Operators", "&lt;", "#Less_than_operator")}}<br>
@@ -236,13 +236,13 @@ translation_of: Web/JavaScript/Reference
{{JSxRef("Operators/Comparison_Operators", "&lt;=", "#Less_than_or_equal_operator")}}<br>
{{JSxRef("Operators/Comparison_Operators", "&gt;=", "#Greater_than_or_equal_operator")}}</p>
</li>
- <li><span>相等運算子</span>
+ <li>相等運算子
<p>{{JSxRef("Operators/Comparison_Operators", "==", "#Equality")}}<br>
{{JSxRef("Operators/Comparison_Operators", "!=", "#Inequality")}}<br>
{{JSxRef("Operators/Comparison_Operators", "===", "#Identity")}}<br>
{{JSxRef("Operators/Comparison_Operators", "!==", "#Nonidentity")}}</p>
</li>
- <li><span>位元移位運算子</span>
+ <li>位元移位運算子
<p>{{JSxRef("Operators/Bitwise_Operators", "&lt;&lt;", "#Left_shift")}}<br>
{{JSxRef("Operators/Bitwise_Operators", "&gt;&gt;", "#Right_shift")}}<br>
{{JSxRef("Operators/Bitwise_Operators", "&gt;&gt;&gt;", "#Unsigned_right_shift")}}</p>
@@ -250,17 +250,17 @@ translation_of: Web/JavaScript/Reference
</ul>
<ul class="card-grid">
- <li><span>二元位元運算子</span>{{JSxRef("Operators/Bitwise_Operators", "&amp;", "#Bitwise_AND")}}<br>
+ <li>二元位元運算子{{JSxRef("Operators/Bitwise_Operators", "&amp;", "#Bitwise_AND")}}<br>
{{JSxRef("Operators/Bitwise_Operators", "|", "#Bitwise_OR")}}<br>
{{JSxRef("Operators/Bitwise_Operators", "^", "#Bitwise_XOR")}}</li>
- <li><span>二元邏輯運算子</span>
+ <li>二元邏輯運算子
<p>{{JSxRef("Operators/Logical_Operators", "&amp;&amp;", "#Logical_AND")}}<br>
{{JSxRef("Operators/Logical_Operators", "||", "#Logical_OR")}}</p>
</li>
- <li><span>條件(三元)運算子</span>
+ <li>條件(三元)運算子
<p>{{JSxRef("Operators/Conditional_Operator", "(condition ? ifTrue : ifFalse)")}}</p>
</li>
- <li><span>賦值運算子</span>
+ <li>賦值運算子
<p>{{JSxRef("Operators/Assignment_Operators", "=", "#Assignment")}}<br>
{{JSxRef("Operators/Assignment_Operators", "*=", "#Multiplication_assignment")}}<br>
{{JSxRef("Operators/Assignment_Operators", "/=", "#Division_assignment")}}<br>
diff --git a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html
index 7391bcbe5d..c16dc0cff1 100644
--- a/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/conditional_operator/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Operators/Conditional_Operator
---
<div>{{jsSidebar("Operators")}}</div>
-<p><span class="seoSummary"><strong>條件 (三元) 運算子</strong> 是 JavaScript 唯一用到三個運算元的運算子:在一個條件後面會跟著一個問號 (<code>?</code>),如果條件是 <a href="/en-US/docs/Glossary/truthy">truthy</a>,在冒號(<code>:</code>)前的表達式會被執行,如果條件是 <a href="/en-US/docs/Glossary/falsy">falsy</a>,在冒號後面的表達式會被執行,</span>這個運算子常常被用來當作 <a href="/en-US/docs/Web/JavaScript/Reference/Statements/if...else"><code>if</code></a> 的簡潔寫法.</p>
+<p><strong>條件 (三元) 運算子</strong> 是 JavaScript 唯一用到三個運算元的運算子:在一個條件後面會跟著一個問號 (<code>?</code>),如果條件是 <a href="/en-US/docs/Glossary/truthy">truthy</a>,在冒號(<code>:</code>)前的表達式會被執行,如果條件是 <a href="/en-US/docs/Glossary/falsy">falsy</a>,在冒號後面的表達式會被執行,這個運算子常常被用來當作 <a href="/en-US/docs/Web/JavaScript/Reference/Statements/if...else"><code>if</code></a> 的簡潔寫法.</p>
<div>{{EmbedInteractiveExample("pages/js/expressions-conditionaloperators.html")}}</div>
@@ -23,7 +23,7 @@ translation_of: Web/JavaScript/Reference/Operators/Conditional_Operator
<dt><code><var>exprIfTrue</var></code></dt>
<dd>如果 <code><var>condition</var></code> 的值是 <a href="/en-US/docs/Glossary/truthy">truthy</a> (等於或是可轉換為 <code>true</code>) , <code><var>exprIfTrue</var></code>  會被執行</dd>
<dt><code><var>exprIfFalse</var></code></dt>
- <dd>如果 <code><var>condition</var></code> 的值是 <a href="/en-US/docs/Glossary/falsy">falsy</a> (等於或是可轉換為 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5);">false</span></font>) , <code><var>exprIfFalse</var></code>  會被執行</dd>
+ <dd>如果 <code><var>condition</var></code> 的值是 <a href="/en-US/docs/Glossary/falsy">falsy</a> (等於或是可轉換為 <font face="consolas, Liberation Mono, courier, monospace">false</font>) , <code><var>exprIfFalse</var></code>  會被執行</dd>
</dl>
<h2 id="描述">描述</h2>
diff --git a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html
index 945ec32efc..715161eca9 100644
--- a/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/optional_chaining/index.html
@@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Operators/Optional_chaining
<div></div>
-<p><strong>可選串連</strong>運算子 <strong><code>?.</code></strong> 允許進行深層次的物件值存取,而無需透過明確的物件值串連驗證。<span class="seoSummary"><code>?.</code> 運算子的操作與 <code>.</code> 屬性存取運算子相似,後者會在參照到 <a href="/zh-TW/docs/Glossary/nullish">nullish</a> ({{JSxRef("null")}} or {{JSxRef("undefined")}}) 的值時出現錯誤,而前者可選串連則回傳 <code>undefined</code> 。</span> 當需要存取一個函數,而這函數並不存在時,則會回傳 <code>undefined</code> 。</p>
+<p><strong>可選串連</strong>運算子 <strong><code>?.</code></strong> 允許進行深層次的物件值存取,而無需透過明確的物件值串連驗證。<code>?.</code> 運算子的操作與 <code>.</code> 屬性存取運算子相似,後者會在參照到 <a href="/zh-TW/docs/Glossary/nullish">nullish</a> ({{JSxRef("null")}} or {{JSxRef("undefined")}}) 的值時出現錯誤,而前者可選串連則回傳 <code>undefined</code> 。 當需要存取一個函數,而這函數並不存在時,則會回傳 <code>undefined</code> 。</p>
<p>當有機會存在參照不存在的時候,可選串連可以提供更簡短的表述式來進行串連性的屬性存取。這有助於在無法保證物件屬性為必要存在的狀況下,進行物件內容的探索。</p>
diff --git a/files/zh-tw/web/javascript/reference/operators/typeof/index.html b/files/zh-tw/web/javascript/reference/operators/typeof/index.html
index d1939e5d4f..585d340255 100644
--- a/files/zh-tw/web/javascript/reference/operators/typeof/index.html
+++ b/files/zh-tw/web/javascript/reference/operators/typeof/index.html
@@ -9,7 +9,7 @@ translation_of: Web/JavaScript/Reference/Operators/typeof
<h2 id="摘要">摘要</h2>
-<p style="line-height: 22px;"><span style="line-height: 1.572;">typeof 運算子會傳回一個字串值, 指出未經運算 (unevaluated) 的運算元所代表的型別。</span></p>
+<p style="line-height: 22px;">typeof 運算子會傳回一個字串值, 指出未經運算 (unevaluated) 的運算元所代表的型別。</p>
<table class="standard-table" style="line-height: 22px;">
<thead>
@@ -37,7 +37,7 @@ translation_of: Web/JavaScript/Reference/Operators/typeof
<h2 id="Parameters" name="Parameters" style="margin: 0px 0px 0.8em; padding: 0px;">參數</h2>
-<div><code style="line-height: inherit; font-size: 14px;"><em>operand</em></code><span style="line-height: inherit;"> 表示式代表傳入的物件或原始型別。</span></div>
+<div><code style="line-height: inherit; font-size: 14px;"><em>operand</em></code> 表示式代表傳入的物件或原始型別。</div>
<h2 id="Description" name="Description">說明</h2>
diff --git a/files/zh-tw/web/javascript/reference/statements/block/index.html b/files/zh-tw/web/javascript/reference/statements/block/index.html
index 62a09df015..384e3c1223 100644
--- a/files/zh-tw/web/javascript/reference/statements/block/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/block/index.html
@@ -63,11 +63,11 @@ alert(x); // outputs 2
<p>當使用<code>let</code>或是<code>const</code>進行宣告時,其存取範圍是只有本身定義的區塊中。</p>
-<pre class="brush: js line-numbers language-js"><code class="language-js"><span class="keyword token">let</span> x <span class="operator token">=</span> <span class="number token">1</span><span class="punctuation token">;</span>
-<span class="punctuation token">{</span>
- <span class="keyword token">let</span> x <span class="operator token">=</span> <span class="number token">2</span><span class="punctuation token">;</span>
-<span class="punctuation token">}</span>
-console<span class="punctuation token">.</span><span class="function token">log</span><span class="punctuation token">(</span>x<span class="punctuation token">)</span><span class="punctuation token">;</span> <span class="comment token">// logs 1</span></code></pre>
+<pre class="brush: js line-numbers language-js"><code class="language-js">let x = 1;
+{
+ let x = 2;
+}
+console.log(x); // logs 1</code></pre>
<h4 id="function"><code>function</code></h4>
diff --git a/files/zh-tw/web/javascript/reference/statements/export/index.html b/files/zh-tw/web/javascript/reference/statements/export/index.html
index 195d4bed7f..3db47772e3 100644
--- a/files/zh-tw/web/javascript/reference/statements/export/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/export/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Statements/export
---
<div>{{jsSidebar("Statements")}}</div>
-<p><span class="seoSummary">用 <strong>export</strong> 可以指派函式、物件或變數,透過 {{jsxref("Statements/import", "import")}} 宣告給外部檔案引用。</span></p>
+<p>用 <strong>export</strong> 可以指派函式、物件或變數,透過 {{jsxref("Statements/import", "import")}} 宣告給外部檔案引用。</p>
<p>導出的模塊都會處於{{jsxref("Strict_mode","嚴謹模式")}},無論是否有所宣告。導出宣告無法使用嵌入式腳本(embedded script)。</p>
diff --git a/files/zh-tw/web/javascript/reference/statements/import/index.html b/files/zh-tw/web/javascript/reference/statements/import/index.html
index 7b3ef2402b..028366c36d 100644
--- a/files/zh-tw/web/javascript/reference/statements/import/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/import/index.html
@@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Statements/import
---
<div>{{jsSidebar("Statements")}}</div>
-<p><span class="seoSummary"><strong>import</strong> 宣告用於引入由另一個模塊所導出的綁定。</span>被引入的模塊,無論是否宣告{{jsxref("Strict_mode","strict mode","嚴謹模式")}},都會處於該模式。<code>import</code> 宣告無法用於嵌入式腳本(embedded scripts)。</p>
+<p><strong>import</strong> 宣告用於引入由另一個模塊所導出的綁定。被引入的模塊,無論是否宣告{{jsxref("Strict_mode","strict mode","嚴謹模式")}},都會處於該模式。<code>import</code> 宣告無法用於嵌入式腳本(embedded scripts)。</p>
<p>There is also a function-like dynamic <code><strong>import()</strong></code>, which does not require scripts of <code>type="module"</code>.</p>
diff --git a/files/zh-tw/web/javascript/reference/statements/label/index.html b/files/zh-tw/web/javascript/reference/statements/label/index.html
index 4939b7b95f..fc2614ab7d 100644
--- a/files/zh-tw/web/javascript/reference/statements/label/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/label/index.html
@@ -86,7 +86,7 @@ for (i = 0; i &lt; items.length; i++) {
itemsPassed++;
}</pre>
-<h3 id="在_for_迴圈中使用帶標記的_break">在 <code>for</code> 迴圈中使用帶標記的 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(255, 255, 255, 0.4);">break</span></font> </h3>
+<h3 id="在_for_迴圈中使用帶標記的_break">在 <code>for</code> 迴圈中使用帶標記的 <font face="consolas, Liberation Mono, courier, monospace">break</font> </h3>
<pre class="brush: js">var i, j;
diff --git a/files/zh-tw/web/javascript/reference/statements/switch/index.html b/files/zh-tw/web/javascript/reference/statements/switch/index.html
index b182da09b6..98aef7edf2 100644
--- a/files/zh-tw/web/javascript/reference/statements/switch/index.html
+++ b/files/zh-tw/web/javascript/reference/statements/switch/index.html
@@ -7,7 +7,7 @@ translation_of: Web/JavaScript/Reference/Statements/switch
---
<div>{{jsSidebar("Statements")}}</div>
-<div><span class="seoSummary"><strong><code>switch</code> 語句</strong> 會比對一個 <a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators">表達式</a> 裡頭的值是否符合 <code>case</code> 條件,然後執行跟這個條件相關的 <a href="/en-US/docs/Web/JavaScript/Reference/Statements">陳述式</a>, 以及此一符合條件以外,剩下其他條件裡的陳述式。</span></div>
+<div><strong><code>switch</code> 語句</strong> 會比對一個 <a href="/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators">表達式</a> 裡頭的值是否符合 <code>case</code> 條件,然後執行跟這個條件相關的 <a href="/en-US/docs/Web/JavaScript/Reference/Statements">陳述式</a>, 以及此一符合條件以外,剩下其他條件裡的陳述式。</div>
<div></div>