質問編集履歴
1
試したこと追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -211,3 +211,29 @@
|
|
211
211
|
}]
|
212
212
|
|
213
213
|
```
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
### 試したこと
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
```javascript
|
222
|
+
|
223
|
+
const after = before.map(function(x){
|
224
|
+
|
225
|
+
const tmpArr = []
|
226
|
+
|
227
|
+
const xxx = {nendo:'', tsuki:''}
|
228
|
+
|
229
|
+
xxx.nendo= x.nendo
|
230
|
+
|
231
|
+
tmpArr.push(xxx)
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
return tmpArr
|
236
|
+
|
237
|
+
})
|
238
|
+
|
239
|
+
```
|