aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/function/length
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
commitc40612041809fe289aba58aefa170bbe784aba1f (patch)
tree8ca89b071d04afcf7abd6d9a04d0765a041d9c8a /files/zh-cn/web/javascript/reference/global_objects/function/length
parent12a899ab8540bc84f56a0dc6491be80a48499d49 (diff)
downloadtranslated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.gz
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.tar.bz2
translated-content-c40612041809fe289aba58aefa170bbe784aba1f.zip
remove name attribute for zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/function/length')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/function/length/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/function/length/index.html b/files/zh-cn/web/javascript/reference/global_objects/function/length/index.html
index 42532bd8ad..699cce5844 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/function/length/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/function/length/index.html
@@ -15,7 +15,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/length
<div>{{js_property_attributes(0,0,1)}}</div>
-<h2 id="Description" name="Description">描述</h2>
+<h2 id="Description">描述</h2>
<p><code>length</code> 是函数对象的一个属性值,指该函数期望传入的参数数量,即形参的个数。</p>
@@ -31,7 +31,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/length
<p> {{jsxref("Function.prototype")}}  对象的 length 属性值为 0 。</p>
-<h2 id="Examples" name="Examples">示例</h2>
+<h2 id="Examples">示例</h2>
<pre class="brush: js">console.log(Function.length); /* 1 */