Skip to content

Commit 8f04760

Browse files
authored
Typo fixes
1 parent 4d65431 commit 8f04760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ alert( arr.concat([3, 4], [5, 6])); // 1,2,3,4,5,6
169169
alert( arr.concat([3, 4], 5, 6)); // 1,2,3,4,5,6
170170
```
171171

172-
Normally, it only copies elements from arrays. Other objects, even if they look like arrays, added as a whole:
172+
Normally, it only copies elements from arrays. Other objects, even if they look like arrays, are added as a whole:
173173

174174
```js run
175175
let arr = [1, 2];
@@ -183,7 +183,7 @@ alert( arr.concat(arrayLike) ); // 1,2,[object Object]
183183
//[1, 2, arrayLike]
184184
```
185185

186-
...But if an array-like object has a special property `Symbol.isConcatSpreadable` property, the it's treated as array by `concat`: its elements are added instead:
186+
...But if an array-like object has a special `Symbol.isConcatSpreadable` property, then it's treated as an array by `concat`: its elements are added instead:
187187

188188
```js run
189189
let arr = [1, 2];

0 commit comments

Comments
 (0)