Skip to content

Commit d075668

Browse files
authored
Iterables => Iterable
1 parent 8468016 commit d075668

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

1-js/05-data-types/06-iterable/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Iterables(可迭代对象)
2+
# Iterable(可迭代对象)
33

44
**Iterable**(可迭代对象)是数组的泛化。这个概念是说任何对象都可以被定制为可在 `for..of` 循环中使用的对象。
55

@@ -167,8 +167,8 @@ while (true) {
167167

168168
有两个看起来很相似,但又有很大不同的正式术语。请你确保正确地掌握它们,以免造成混淆。
169169

170-
- **Iterables** 如上所述,是实现 `Symbol.iterator` 方法的对象。
171-
- **Array-likes** 是有索引和 `length` 属性的对象,所以它们看起来很像数组。
170+
- **Iterable** 如上所述,是实现 `Symbol.iterator` 方法的对象。
171+
- **Array-like** 是有索引和 `length` 属性的对象,所以它们看起来很像数组。
172172

173173
当我们将 JavaScript 用于编写在浏览器或其他环境中的实际任务时,我们可能会遇到可迭代对象或类数组对象,或两者兼有。
174174

0 commit comments

Comments
 (0)