diff options
author | kaichi <49476516+kaichii@users.noreply.github.com> | 2022-02-09 17:12:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 17:12:56 +0800 |
commit | 628b1a2e97f6627ecfcd9d2ee0c21241a4398ddd (patch) | |
tree | d06487ad842ba55f5c9824e61397df1ad5239184 | |
parent | a181b53fc00af1613c6fea4b4c6941ef48330d8f (diff) | |
download | translated-content-628b1a2e97f6627ecfcd9d2ee0c21241a4398ddd.tar.gz translated-content-628b1a2e97f6627ecfcd9d2ee0c21241a4398ddd.tar.bz2 translated-content-628b1a2e97f6627ecfcd9d2ee0c21241a4398ddd.zip |
fix console output (#4061)
-rw-r--r-- | files/zh-cn/web/javascript/reference/global_objects/array/values/index.html | 2 |
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> |