回答編集履歴
2
chousei
test
CHANGED
@@ -7,3 +7,11 @@
|
|
7
7
|
const hoge=list.reduce((x,y)=>(x.push(...y),x));
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
よく考えたらこれでも
|
12
|
+
|
13
|
+
```
|
14
|
+
|
15
|
+
const hoge=[].concat(...list);
|
16
|
+
|
17
|
+
```
|
1
調整
test
CHANGED
@@ -4,6 +4,6 @@
|
|
4
4
|
|
5
5
|
```javascript
|
6
6
|
|
7
|
-
const hoge=list.reduce((x,y)=>(x.push(...y),x)
|
7
|
+
const hoge=list.reduce((x,y)=>(x.push(...y),x));
|
8
8
|
|
9
9
|
```
|