Skip to content

Commit 61e968d

Browse files
authored
update article.md v2
перепрошую за перший коміт, забув видалити текст, котрий перекладав.
1 parent cda70e7 commit 61e968d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ alert(arr); // 1,2,3,4,5 (array toString conversion works)
223223
Array.from(obj[, mapFn, thisArg])
224224
```
225225

226-
The optional second argument `mapFn` can be a function that will be applied to each element before adding it to the array, and `thisArg` allows us to set `this` for it.
226+
`mapFn` є необов'язоковим(опціональним) аргументом-функцією, яка буде застосовуватись до кожного елемента перед його додаванням до масиву.
227+
`thisArg` - також необов'язковий аргумент, котрий дозволяє нам встановити [`this`](https://uk.javascript.info/object-methods).
227228

228229
Наприклад:
229230

0 commit comments

Comments
 (0)