From 423408ef224494fe88fa73a06da511528ffc874a Mon Sep 17 00:00:00 2001 From: alexanderhess Date: Tue, 30 Mar 2021 18:26:40 +0200 Subject: Fixed the typo, Fixes #321 --- .../web/javascript/reference/global_objects/array/values/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/javascript/reference') 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 cf9b1c7c82..6d84257551 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 @@ -51,7 +51,7 @@ iterator.next()["value"]; // "c" iterator.next(); // Object { value: "d", done: false } iterator.next(); // Object { value: "e", done: false } iterator.next(); // Object { value: undefined, done: true } -iteraroe.next().value; // undefined +iterator.next().value; // undefined

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

-- cgit v1.2.3-54-g00ecf