diff options
author | ethan <690167690@qq.com> | 2022-01-10 23:47:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 23:47:04 +0800 |
commit | 1f11157b90221d5f212fbfe6d5a720d0c2a21f1f (patch) | |
tree | 3eb732e3133e4e49436180599abe2d3f7961f7eb /files/zh-cn/web | |
parent | b691f45c3a2db833930201f4c40eb264fbb93ad4 (diff) | |
download | translated-content-1f11157b90221d5f212fbfe6d5a720d0c2a21f1f.tar.gz translated-content-1f11157b90221d5f212fbfe6d5a720d0c2a21f1f.tar.bz2 translated-content-1f11157b90221d5f212fbfe6d5a720d0c2a21f1f.zip |
Fix mistranslation in Web/JavaScript/Reference/Global_Objects/Function/length, zh-CN (#3582)
“指该函数有多少个必须要传入的参数”改为“指该函数期望传入的参数数量”
翻译成“必须要传入”跟实际含义不符。原文“and indicates how many arguments the function expects,”
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/function/length/index.html | 2 |
1 files changed, 1 insertions, 1 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 9804d07a75..42532bd8ad 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 @@ -17,7 +17,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Function/length <h2 id="Description" name="Description">描述</h2> -<p><code>length</code> 是函数对象的一个属性值,指该函数有多少个必须要传入的参数,即形参的个数。</p> +<p><code>length</code> 是函数对象的一个属性值,指该函数期望传入的参数数量,即形参的个数。</p> <p>形参的数量不包括剩余参数个数,仅包括第一个具有默认值之前的参数个数。</p> |