Skip to content

Commit 0c0dd9f

Browse files
authored
feat: 补充数组方法遗漏翻译
1 parent 4d991d5 commit 0c0dd9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ arr.concat(arg1, arg2...)
159159
```js run
160160
let arr = [1, 2];
161161

162-
// create an array from: arr and [3,4]
162+
// arr [3,4] 创建一个新数组
163163
alert( arr.concat([3, 4]) ); // 1,2,3,4
164164

165-
// create an array from: arr and [3,4] and [5,6]
165+
// arr[3,4] [5,6] 创建一个新数组
166166
alert( arr.concat([3, 4], [5, 6]) ); // 1,2,3,4,5,6
167167

168-
// create an array from: arr and [3,4], then add values 5 and 6
168+
// arr[3,4]、5 和 6 创建一个新数组
169169
alert( arr.concat([3, 4], 5, 6) ); // 1,2,3,4,5,6
170170
```
171171

0 commit comments

Comments
 (0)