From d44f5032d0f53256b2d5aef505d6b593fd3cd158 Mon Sep 17 00:00:00 2001 From: Irvin Date: Wed, 16 Feb 2022 02:14:18 +0800 Subject: fix yari h2m dry run errors (zh-CN) --- .../javascript/reference/global_objects/array/values/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/values/index.html') diff --git a/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html b/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html index 92e3920d88..cbfc745614 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/array/values/index.html @@ -53,8 +53,8 @@ iterator.next(); // Object { value: "e", done: false } iterator.next(); // Object { value: undefined, done: true } iterator.next().value; // undefined -
-

一次性:数组迭代器是一次性的,或者说临时对象

+
+

警告:一次性:数组迭代器是一次性的,或者说临时对象

例子:

@@ -80,8 +80,8 @@ arr[1] = 'n'; iterator.next().value; // "n" -
-

如果数组中元素改变,那么迭代器的值也会改变

+
+

备注:如果数组中元素改变,那么迭代器的值也会改变

规范

-- cgit v1.2.3-54-g00ecf