aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/statements/do...while/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/statements/do...while/index.html')
-rw-r--r--files/zh-cn/web/javascript/reference/statements/do...while/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/statements/do...while/index.html b/files/zh-cn/web/javascript/reference/statements/do...while/index.html
index 89a850f722..614ef2ad4b 100644
--- a/files/zh-cn/web/javascript/reference/statements/do...while/index.html
+++ b/files/zh-cn/web/javascript/reference/statements/do...while/index.html
@@ -37,17 +37,17 @@ while (<em>condition</em>);
<h3 id="HTML_内容">HTML 内容</h3>
-<pre class="brush: html line-numbers language-html"><code class="language-html">&lt;div id="example"&gt;&lt;/div&gt;</code></pre>
+<pre class="brush: html line-numbers language-html">&lt;div id="example"&gt;&lt;/div&gt;</pre>
<h3 id="JavaScript_内容">JavaScript 内容</h3>
-<pre class="brush: js"><code class="language-js">var result = '';
+<pre class="brush: js">var result = '';
var i = 0;
do {
i += 1;
result += i + ' ';
} while (i &lt; 5);
-document.getElementById('example').innerHTML = result;</code></pre>
+document.getElementById('example').innerHTML = result;</pre>
<h3 id="结果">结果</h3>