Skip to content

Commit 7d92be9

Browse files
authored
Update article.md
Array.from: 'copies there all items' -> 'copies all items to it'
1 parent ec21af8 commit 7d92be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ let arr = Array.from(arrayLike); // (*)
214214
alert(arr.pop()); // World (method works)
215215
```
216216

217-
`Array.from` at the line `(*)` takes the object, examines it for being an iterable or array-like, then makes a new array and copies there all items.
217+
`Array.from` at the line `(*)` takes the object, examines it for being an iterable or array-like, then makes a new array and copies all items to it.
218218

219219
The same happens for an iterable:
220220

0 commit comments

Comments
 (0)