aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/array/values/index.html2
1 files changed, 1 insertions, 1 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 6d84257551..7af8b40436 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
@@ -63,7 +63,7 @@ iterator.next().value; // undefined</pre>
var iterator = arr.values();
for (let letter of iterator) {
console.log(letter);
-} //"a" "b" "c" "d"
+} //"a" "b" "c" "d" "e"
for (let letter of iterator) {
console.log(letter);
} // undefined</pre>