aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/functions/arguments/length
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/functions/arguments/length')
-rw-r--r--files/zh-cn/web/javascript/reference/functions/arguments/length/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/reference/functions/arguments/length/index.html b/files/zh-cn/web/javascript/reference/functions/arguments/length/index.html
index 3bf25335f4..9d0892226a 100644
--- a/files/zh-cn/web/javascript/reference/functions/arguments/length/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/arguments/length/index.html
@@ -11,13 +11,13 @@ translation_of: Web/JavaScript/Reference/Functions/arguments/length
<pre class="syntaxbox">arguments.length</pre>
-<h2 id="Description" name="Description">描述</h2>
+<h2 id="Description">描述</h2>
<p>arguments.length表示的是实际上向函数传入了多少个参数,这个数字可以比形参数量大,也可以比形参数量小(形参数量的值可以通过<a href="/zh-CN/docs/JavaScript/Reference/Global_Objects/Function/length" title="JavaScript/Reference/Global Objects/Function/length">Function.length</a>获取到).</p>
-<h2 id="Examples" name="Examples">例子</h2>
+<h2 id="Examples">例子</h2>
-<h3 id="Example:_Using_arguments.length" name="Example:_Using_arguments.length">例子: 使用<code>arguments.length</code></h3>
+<h3 id="Example:_Using_arguments.length">例子: 使用<code>arguments.length</code></h3>
<p>这个例中,我们定义了一个可以相加任意个数字的函数.</p>
@@ -68,7 +68,7 @@ translation_of: Web/JavaScript/Reference/Functions/arguments/length
<p>{{Compat("javascript.functions.arguments.length")}}</p>
-<h2 id="See_also" name="See_also">相关链接</h2>
+<h2 id="See_also">相关链接</h2>
<ul>
<li><a href="/zh-CN/docs/JavaScript/Reference/Global_Objects/Function/length" title="JavaScript/Reference/Global_Objects/Function/length">Function.length</a></li>