Skip to content

Commit 863f722

Browse files
authored
Merge pull request javascript-tutorial#610 from leplay/patch-1
Fix typo
2 parents 941c4c0 + c8d40e5 commit 863f722

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ while (true) {
172172

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

175-
例如,字符串即使可叠戴的`for..of` 对它们有效),又是类数组地(它们有数值索引和 `length` 属性)。
175+
例如,字符串即是可迭代的`for..of` 对它们有效),又是类数组的(它们有数值索引和 `length` 属性)。
176176

177177
但是一个可迭代对象也许不是类数组对象。反之亦然,类数组对象可能不可迭代。
178178

@@ -197,7 +197,7 @@ for (let item of arrayLike) {}
197197

198198
## Array.from
199199

200-
有一个全局方法 [Array.from](mdn:js/Array/from) 可以可以接受一个可迭代或类数组的值,并从中获取一个“真实的”数组。然后我们就可以对其调用数组方法了。
200+
有一个全局方法 [Array.from](mdn:js/Array/from) 可以接受一个可迭代或类数组的值,并从中获取一个“真正的”数组。然后我们就可以对其调用数组方法了。
201201

202202
例如:
203203

0 commit comments

Comments
 (0)