aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/guide/loops_and_iteration/index.html
diff options
context:
space:
mode:
authorA1lo <yin199909@aliyun.com>2022-03-18 21:53:46 +0800
committerGitHub <noreply@github.com>2022-03-18 21:53:46 +0800
commit8824afb494e5398bc0efcf5f7eb78782096fc90c (patch)
tree92fd44c01908cc7b39da131bcac6a0cae024bb6f /files/zh-cn/web/javascript/guide/loops_and_iteration/index.html
parente48f0a637c058b51a6268e0c2c384957e03d2b60 (diff)
downloadtranslated-content-8824afb494e5398bc0efcf5f7eb78782096fc90c.tar.gz
translated-content-8824afb494e5398bc0efcf5f7eb78782096fc90c.tar.bz2
translated-content-8824afb494e5398bc0efcf5f7eb78782096fc90c.zip
Replace marco `anch` with `<a>` tag for `zh-CN` (#4668)
* replace anch with tag `<a>` * auto replace anch with scripts * fix: resolve some incorrect anchors * replace anch with markdown link in markdown files * sync with english version for `Properties` * fix: resolve some incorrect anchors * using `Specifications` marco to replace `<table>` * fix: resolve some incorrect anchors * remove the `noteCard` and add a `h2` head * fix: resolve some incorrect anchors * remove the duplicated content * fix: resolve some incorrect anchors * fix: resolve some incorrect anchors * revert the content change and replace anch * revert the content change and replace anch * revert the content chang * fix: correct the `href` * revert content changes and replace the anch * fix: resolve some incorrect anchors * fix: resolve some incorrect anchors * fix: resolve some incorrect anchors
Diffstat (limited to 'files/zh-cn/web/javascript/guide/loops_and_iteration/index.html')
-rw-r--r--files/zh-cn/web/javascript/guide/loops_and_iteration/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/files/zh-cn/web/javascript/guide/loops_and_iteration/index.html b/files/zh-cn/web/javascript/guide/loops_and_iteration/index.html
index 67792dcf88..06d89bdb7d 100644
--- a/files/zh-cn/web/javascript/guide/loops_and_iteration/index.html
+++ b/files/zh-cn/web/javascript/guide/loops_and_iteration/index.html
@@ -26,14 +26,14 @@ for (step = 0; step &lt; 5; step++) {
<p>JavaScript中提供了这些循环语句:</p>
<ul>
- <li>{{anch("for 语句")}}</li>
- <li>{{anch("do...while 语句")}}</li>
- <li>{{anch("while 语句")}}</li>
- <li>{{anch("labeled 语句")}}</li>
- <li>{{anch("break 语句")}}</li>
- <li>{{anch("continue 语句")}}</li>
- <li>{{anch("for...in 语句")}}</li>
- <li>{{anch("for...of 语句")}}</li>
+ <li><a href="#for_语句">for 语句</a></li>
+ <li><a href="#do...while_语句">do...while 语句</a></li>
+ <li><a href="#while_语句">while 语句</a></li>
+ <li><a href="#label_语句">label 语句</a></li>
+ <li><a href="#break_语句">break 语句</a></li>
+ <li><a href="#continue_语句">continue 语句</a></li>
+ <li><a href="#for...in_语句">for...in 语句</a></li>
+ <li><a href="#for...of_语句">for...of 语句</a></li>
</ul>
<h2 id="for_语句"><code>for</code> 语句</h2>