Merge pull request #2023 from haond10adp/master

typo
This commit is contained in:
Ilya Kantor 2020-09-05 18:07:11 +03:00 committed by GitHub
commit ffa154d1ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,4 +304,4 @@ Objects that have indexed properties and `length` are called *array-like*. Such
If we look inside the specification -- we'll see that most built-in methods assume that they work with iterables or array-likes instead of "real" arrays, because that's more abstract.
`Array.from(obj[, mapFn, thisArg])` makes a real `Array` of an iterable or array-like `obj`, and we can then use array methods on it. The optional arguments `mapFn` and `thisArg` allow us to apply a function to each item.
`Array.from(obj[, mapFn, thisArg])` makes a real `Array` from an iterable or array-like `obj`, and we can then use array methods on it. The optional arguments `mapFn` and `thisArg` allow us to apply a function to each item.