aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/functions/arguments
diff options
context:
space:
mode:
authort7yang <t7yang@gmail.com>2021-07-17 16:10:02 +0800
committerIrvin <irvinfly@gmail.com>2021-07-19 23:04:27 +0800
commita02f4b2f60c81e09b318a090e5c9c2d2d641c878 (patch)
tree2b1849e7a34cb367ff6624e35a35fc827eceef6b /files/zh-cn/web/javascript/reference/functions/arguments
parent8af4d5e8a260f3474b4273d573532ec6fec08ab4 (diff)
downloadtranslated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.gz
translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.tar.bz2
translated-content-a02f4b2f60c81e09b318a090e5c9c2d2d641c878.zip
replace wiki links in zh-CN
Diffstat (limited to 'files/zh-cn/web/javascript/reference/functions/arguments')
-rw-r--r--files/zh-cn/web/javascript/reference/functions/arguments/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/javascript/reference/functions/arguments/index.html b/files/zh-cn/web/javascript/reference/functions/arguments/index.html
index 22ec42ac8f..937a5f7e7c 100644
--- a/files/zh-cn/web/javascript/reference/functions/arguments/index.html
+++ b/files/zh-cn/web/javascript/reference/functions/arguments/index.html
@@ -26,11 +26,11 @@ translation_of: Web/JavaScript/Reference/Functions/arguments
<h2 id="Description" name="Description">描述</h2>
<div class="blockIndicator note">
-<p><strong>Note:</strong> If you're writing ES6 compatible code, then <a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters">rest parameters</a> should be preferred.</p>
+<p><strong>Note:</strong> If you're writing ES6 compatible code, then <a href="/zh-CN/docs/Web/JavaScript/Reference/Functions/rest_parameters">rest parameters</a> should be preferred.</p>
</div>
<div class="blockIndicator note">
-<p><strong>Note:</strong> “Array-like” means that <code>arguments</code> has a {{jsxref("Functions/arguments/length", "length")}} property and properties indexed from zero, but it doesn't have {{JSxRef("Array")}}'s built-in methods like {{jsxref("Array.forEach", "forEach()")}} and {{jsxref("Array.map", "map()")}}. See <a href="https://wiki.developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/arguments$edit#Description">§Description</a> for details.</p>
+<p><strong>Note:</strong> “Array-like” means that <code>arguments</code> has a {{jsxref("Functions/arguments/length", "length")}} property and properties indexed from zero, but it doesn't have {{JSxRef("Array")}}'s built-in methods like {{jsxref("Array.forEach", "forEach()")}} and {{jsxref("Array.map", "map()")}}. See <a href="/zh-CN/docs/Web/JavaScript/Reference/Functions/arguments$edit#Description">§Description</a> for details.</p>
</div>
<p><code>arguments</code>对象是所有(非箭头)函数中都可用的<strong>局部变量</strong>。你可以使用<code>arguments</code>对象在函数中引用函数的参数。此对象包含传递给函数的每个参数,第一个参数在索引0处。例如,如果一个函数传递了三个参数,你可以以如下方式引用他们:</p>