aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/javascript/reference
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2022-01-10 08:38:07 +0800
committerIrvin <irvinfly@gmail.com>2022-02-16 02:35:54 +0800
commitd7b2995cabe8d85a1827aa18bc270bdf739f3d13 (patch)
tree626aa66677e8aed88cbdae1e315b141081c81a8d /files/zh-tw/web/javascript/reference
parent012ee621791b6895e637f96e6523027951768f25 (diff)
downloadtranslated-content-d7b2995cabe8d85a1827aa18bc270bdf739f3d13.tar.gz
translated-content-d7b2995cabe8d85a1827aa18bc270bdf739f3d13.tar.bz2
translated-content-d7b2995cabe8d85a1827aa18bc270bdf739f3d13.zip
remove code tag inside pre tag for zh-TW
Diffstat (limited to 'files/zh-tw/web/javascript/reference')
-rw-r--r--files/zh-tw/web/javascript/reference/statements/block/index.html4
1 files changed, 2 insertions, 2 deletions
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 384e3c1223..0e1d2ce662 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">let x = 1;
+<pre class="brush: js line-numbers language-js">let x = 1;
{
let x = 2;
}
-console.log(x); // logs 1</code></pre>
+console.log(x); // logs 1</pre>
<h4 id="function"><code>function</code></h4>