diff options
Diffstat (limited to 'files/zh-cn/web/javascript/reference/global_objects/array/values/index.html')
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/array/values/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
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</pre> -<div class="blockIndicator warning"> -<p>一次性:数组迭代器是一次性的,或者说临时对象</p> +<div class="warning"> +<p><strong>警告:</strong>一次性:数组迭代器是一次性的,或者说临时对象</p> </div> <p>例子:</p> @@ -80,8 +80,8 @@ arr[1] = 'n'; iterator.next().value; // "n" </pre> -<div class="blockIndicator note"> -<p>如果数组中元素改变,那么迭代器的值也会改变</p> +<div class="note"> +<p><strong>备注:</strong>如果数组中元素改变,那么迭代器的值也会改变</p> </div> <h2 id="规范">规范</h2> |