aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/javascript/reference/global_objects/array/slice
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/slice')
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
index d62b834d40..74703cbe04 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/array/slice/index.html
@@ -57,7 +57,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/slice
<p>如果向两个数组任一中添加了新元素,则另一个不会受到影响。</p>
-<h2 id="Examples" name="Examples">示例</h2>
+<h2 id="Examples">示例</h2>
<h3 id="返回现有数组的一部分">返回现有数组的一部分</h3>
@@ -108,7 +108,7 @@ The new color of my Honda is purple
newCar[0].color = purple
</pre>
-<h2 id="Array-like" name="Array-like">类数组(Array-like)对象</h2>
+<h2 id="Array-like">类数组(Array-like)对象</h2>
<p><code>slice</code> 方法可以用来将一个类数组(Array-like)对象/集合转换成一个新数组。你只需将该方法绑定到这个对象上。 一个函数中的  {{jsxref("Functions/arguments", "arguments")}} 就是一个类数组对象的例子。</p>
@@ -242,7 +242,7 @@ var list1 = list(1, 2, 3); // [1, 2, 3]
<p>{{Compat("javascript.builtins.Array.slice")}}</p>
</div>
-<h2 id="See_also" name="See_also">相关链接</h2>
+<h2 id="See_also">相关链接</h2>
<ul>
<li>{{jsxref("Array.prototype.splice()")}}</li>