diff options
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.html | 6 |
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"><div id="example"></div></code></pre> +<pre class="brush: html line-numbers language-html"><div id="example"></div></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 < 5); -document.getElementById('example').innerHTML = result;</code></pre> +document.getElementById('example').innerHTML = result;</pre> <h3 id="结果">结果</h3> |